CVE-2021-38195 Overflow in libsecp256k1
CriticalCVSS 9.8
EPSS 0.91%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io libsecp256k1(crates.io) | < 0.5.0; >= 0.0.0-0, < 0.5.0 | 0.5.0 | Fixed |
| parity libsecp256k1 | < 0.5.0 | 0.5.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io libsecp256k1(crates.io) | < 0.5.0 | 0.5.0 |
| crates.io libsecp256k1(crates.io) | >= 0.0.0-0, < 0.5.0 | 0.5.0 |
| parity libsecp256k1 | < 0.5.0 | 0.5.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- rustsec.org exploit issue-tracking patch third-party-advisory vendor-advisory
- github.com
- github.com product
- crates.io product
- raw.githubusercontent.com third-party-advisory