CVE-2019-20399 Observable Discrepancy in libsecp256k1-rs

Medium 5.9 Published Updated

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.

PackageAffectedFixed in
libsecp256k1-rs crates.ioAll versions0.3.1
libsecp256k1-rs crates.ioAll versions0.3.1
libsecp256k1-rs crates.ioFrom 0.0.0-00.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.

Sources

Also known as GHSA-7cqg-8449-rmfv, RUSTSEC-2020-0156.

Is CVE-2019-20399 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free