GHSA-978j-88f3-p5j3

Suggest an improvement
Source
https://github.com/advisories/GHSA-978j-88f3-p5j3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-978j-88f3-p5j3/GHSA-978j-88f3-p5j3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-978j-88f3-p5j3
Aliases
Published
2022-06-17T00:18:43Z
Modified
2023-11-08T04:17:45.856172Z
Summary
Threshold value is ignored (all shares are n=3)
Details

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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2022-06-17T00:18:43Z"
}
References

Affected packages

crates.io / shamir

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.0