{"id":"GHSA-978j-88f3-p5j3","summary":"Threshold value is ignored (all shares are n=3)","details":"Affected versions of this crate did not properly calculate secret shares requirements.\n\nThis reduces the security of the algorithm by restricting the crate to always\nusing a threshold value of three, rather than a configurable limit.\n\nThe flaw was corrected by correctly configuring the threshold.\n","aliases":["RUSTSEC-2020-0160"],"modified":"2023-11-08T04:17:45.856172Z","published":"2022-06-17T00:18:43Z","database_specific":{"nvd_published_at":null,"cwe_ids":[],"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2022-06-17T00:18:43Z"},"references":[{"type":"WEB","url":"https://github.com/Nebulosus/shamir/issues/3"},{"type":"PACKAGE","url":"https://github.com/Nebulosus/shamir"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2020-0160.html"}],"affected":[{"package":{"name":"shamir","ecosystem":"crates.io","purl":"pkg:cargo/shamir"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-978j-88f3-p5j3/GHSA-978j-88f3-p5j3.json"}}],"schema_version":"1.9.0"}