CVE-2024-23342 python-ecdsa vulnerable to Minerva attack on P-256

High 7.4 Published Updated

The python-ecdsa library is vulnerable to the Minerva attack, potentially leaking private key information through timing side-channels during P-256 operations.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-23342?

CVE-2024-23342 is a high-severity vulnerability in tlsfuzzer python-ecdsa, published on 22 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The `ecdsa` PyPI package is a pure Python implementation of ECC (Elliptic Curve Cryptography) with support for ECDSA (Elliptic Curve Digital Signature Algorithm), EdDSA (Edwards-curve Digital Signature Algorithm) and ECDH (Elliptic Curve Diffie-Hellman). Versions 0.18.0 and prior are vulnerable to the Minerva attack. As of time of publication, no known patched version exists.

Weakness: CWE-385, CWE-208, CWE-203

Which versions are affected by CVE-2024-23342?

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

PackageAffectedFixed in
ecdsa PyPIAll versionsNone
ecdsa PyPIAll versionsNone
ecdsa PyPIAll versionsNone

Products include Tlsfuzzer Ecdsa.

How do I fix CVE-2024-23342?

No fix published yet.

Is CVE-2024-23342 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-23342 exists.

Sources

Also known as DEBIAN-CVE-2024-23342, GHSA-wj6h-64fc-37mp, MINI-3wf8-x8w5-hwvv, MINI-qx8m-xc2v-8ghw, PYSEC-2026-1325, UBUNTU-CVE-2024-23342.

Is CVE-2024-23342 in your software?

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

Check your SBOMs for free