Description
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.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | shamir | < 2.0.0 | 2.0.0 | GHSA-978j-88f3-p5j3 |
| crates.io | shamir | >= 0.0.0-0, < 2.0.0 | 2.0.0 | RUSTSEC-2020-0160 |