GHSA-978j-88f3-p5j3
LOWThreshold value is ignored (all shares are n=3)
Affected versions of this crate did not properly calculate secret shares requirements.
This reduces the security of the algorithm by restricting the crate to always
using a threshold value of three, rather than a configurable limit.
The flaw was corrected by correctly configuring the threshold.
- Published
- 21 Jan 2020
- Last modified
- 8 Nov 2023
- Also known as
- RUSTSEC-2020-0160
- Sources
- OSVJSONOSV RUSTSEC-2020-0160JSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | shamir | < 2.0.0 | 2.0.0 |
| OSV | crates.io | shamir | >= 0.0.0-0, < 2.0.0 | 2.0.0 |
References
- https://github.com/Nebulosus/shamir/issues/3 · WEB, REPORT
- https://github.com/Nebulosus/shamir · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2020-0160.html · WEB, ADVISORY
- https://crates.io/crates/shamir · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Jan 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Jun 2022)