RUSTSEC-2020-0160

Source
https://rustsec.org/advisories/RUSTSEC-2020-0160
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0160.json
Aliases
Published
2020-01-21T12:00:00Z
Modified
2023-11-08T04:17:45.856172Z
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.

References

Affected packages

crates.io / shamir

Package

Name
shamir

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
2.0.0

Ecosystem specific

{
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": null,
    "categories": [
        "crypto-failure"
    ]
}