paritytech/libsecp256k1 · Security
Overflow in libsecp256k1
- GHSA ID
- GHSA-g4vj-x7v9-h82m
- CVE ID
- CVE-2021-38195
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
An issue was discovered in the libsecp256k1 crate before 0.5.0 for Rust. It can verify an invalid signature because it allows the R or S parameter to be larger than the curve order, aka an overflow.
CWEs
- CWE-190 · Integer Overflow or Wraparound
- CWE-347 · Improper Verification of Cryptographic Signature