CVE-2019-25003 libsecp256k1 contains side-channel timing attack

High 7.5 Published Updated

Attackers can exploit a timing side-channel in the libsecp256k1 Rust crate to obtain sensitive cryptographic information.

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-25003?

CVE-2019-25003 is a high-severity vulnerability in n/a, published on 31 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in the libsecp256k1 crate before 0.3.1 for Rust. Scalar::check_overflow allows a timing side-channel attack; consequently, attackers can obtain sensitive information.

Which versions are affected by CVE-2019-25003?

3 open source packages ship an affected version, including libsecp256k1. It affects 1 product.

PackageAffectedFixed in
libsecp256k1 crates.ioAll versions0.3.1
libsecp256k1 crates.ioAll versions0.3.1
libsecp256k1 crates.ioFrom 0.0.0-00.3.1

Products include Parity Libsecp256k1.

How do I fix CVE-2019-25003?

Upgrade libsecp256k1 to 0.3.1 or later.

Is CVE-2019-25003 being exploited?

There is no known exploitation of CVE-2019-25003 in the wild and no public exploit code.

Sources

Also known as GHSA-hrjm-c879-pp86, RUSTSEC-2019-0027.

Is CVE-2019-25003 in your software?

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

Check your SBOMs for free