RUSTSEC-2021-0076
Dashboard / Vulnerabilities / RUSTSEC-2021-0076
RUSTSEC-2021-0076
Published: 13 Jul 2021Last Modified: 8 Nov 2023
Aliases:
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.
References: https://crates.io/crates/libsecp256k1, https://rustsec.org/advisories/RUSTSEC-2021-0076.html, https://github.com/paritytech/libsecp256k1/pull/67
Affected packages
Package
Name: libsecp256k1
Purl: pkg:cargo/libsecp256k1
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-0
Fixed -0.5.0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
