CVE-2019-20399 Observable Discrepancy in libsecp256k1-rs
A timing side-channel in the Parity libsecp256k1-rs library allows attackers to leak sensitive information via overflow checks.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-20399?
CVE-2019-20399 is a medium-severity vulnerability in n/a, published on 22 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A timing vulnerability in the Scalar::check_overflow function in Parity libsecp256k1-rs before 0.3.1 potentially allows an attacker to leak information via a side-channel attack.
Weakness: CWE-203
Which versions are affected by CVE-2019-20399?
3 open source packages ship an affected version, including libsecp256k1-rs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
libsecp256k1-rs crates.io | All versions | 0.3.1 |
libsecp256k1-rs crates.io | All versions | 0.3.1 |
libsecp256k1-rs crates.io | From 0.0.0-0 | 0.3.1 |
Products include Parity Libsecp256k1.
How do I fix CVE-2019-20399?
Upgrade libsecp256k1-rs to 0.3.1 or later.
Is CVE-2019-20399 being exploited?
There is no known exploitation of CVE-2019-20399 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-7cqg-8449-rmfv, RUSTSEC-2020-0156.