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
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2020-0160
Aliases
Published
2020-01-21T12:00:00Z
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
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / shamir

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
2.0.0

Ecosystem specific

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

Database specific

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