Skip to content
OpenAdvisories
Critical · 9.8 CVE-2021-38195 EUVD-2021-1711GHSA-g4vj-x7v9-h82mRUSTSEC-2021-0076

Overflow in libsecp256k1

Published Aug 8, 2021 · Updated Aug 4, 2024 · Assigned by mitre

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.

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io libsecp256k1 < 0.5.0 0.5.0 GHSA-g4vj-x7v9-h82m
crates.io libsecp256k1 >= 0.0.0-0, < 0.5.0 0.5.0 RUSTSEC-2021-0076

References