RUSTSEC-2021-0076

Source
https://rustsec.org/advisories/RUSTSEC-2021-0076
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0076.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2021-0076
Aliases
Published
2021-07-13T12:00:00Z
Modified
2023-11-08T04:06:26.227511Z
Summary
libsecp256k1 allows overflowing signatures
Details

libsecp256k1 accepts signatures whose R or S parameter is larger than the secp256k1 curve order, which differs from other implementations. This could lead to invalid signatures being verified.

The error is resolved in 0.5.0 by adding a check_overflow flag.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / libsecp256k1

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.5.0

Ecosystem specific

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

Database specific

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