Unratedcrates.ioPublished
Threshold value is ignored (all shares are n=3)
GHSA-978j-88f3-p5j3
- Affected
- crates.io shamir < 2.0.0
- Fixed in
- 2.0.0· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 2.0.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.