Skip to content
OpenAdvisories
Low GHSA-978j-88f3-p5j3 RUSTSEC-2020-0160

Threshold value is ignored (all shares are n=3)

Published Jun 17, 2022 · Updated Nov 8, 2023 · Assigned by GHSA

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

EcosystemPackageAffectedFixedRecord
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

References