{"id":"RUSTSEC-2020-0160","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.","aliases":["GHSA-978j-88f3-p5j3"],"modified":"2023-11-08T04:17:45.856172Z","published":"2020-01-21T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/shamir"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2020-0160.html"},{"type":"REPORT","url":"https://github.com/Nebulosus/shamir/issues/3"}],"affected":[{"package":{"name":"shamir","ecosystem":"crates.io","purl":"pkg:cargo/shamir"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"2.0.0"}]}],"ecosystem_specific":{"affects":{"arch":[],"os":[],"functions":[]},"affected_functions":null},"database_specific":{"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0160.json","cvss":null,"categories":["crypto-failure"],"informational":null}}],"schema_version":"1.7.3"}