GitHub Advisory Database
GHSA-hrjm-c879-pp86
libsecp256k1 contains side-channel timing attack
Details
Versions of libsecp256k1 prior to 0.3.1 did not execute Scalar::check_overflow in constant time. This allows an attacker to potentially leak information via a timing attack. The flaw was corrected by modifying Scalar::check_overflow to execute in constant time.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | libsecp256k1 | All versions before 0.3.1 (fixed in 0.3.1) |