CVE-2024-23342
highpriority · track · 30EPSS 0.010 · 62 %ileEUUSEPSS · scored 2026-10-26
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.8–7.4
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-wj6h-64fc-37mpMinerva timing attack on P-256 in python-ecdsa2024-01-22ghsa · osvUS
python-ecdsa has been found to be subject to a Minerva timing attack on the P-256 curve. Using the `ecdsa.SigningKey.sign_digest()` API function and timing signatures an attacker can leak the internal nonce which may allow for private key discovery. Both ECDSA signatures, key generation, and ECDH operations are affected. ECDSA signature verification is unaffected. The python-ecdsa project considers side channel attacks out of scope for the project and there is no planned fix.
- PYSEC-2026-1325Minerva timing attack on P-256 in python-ecdsa2026-07-07vendor · osvUS
python-ecdsa has been found to be subject to a Minerva timing attack on the P-256 curve. Using the `ecdsa.SigningKey.sign_digest()` API function and timing signatures an attacker can leak the internal nonce which may allow for private key discovery. Both ECDSA signatures, key generation, and ECDH operations are affected. ECDSA signature verification is unaffected. The python-ecdsa project considers side channel attacks out of scope for the project and there is no planned fix.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (15)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2024-23342cnnvd
- https://cxsecurity.com/cveshow/CVE-2024-23342/cnnvd
- https://github.com/tlsfuzzer/python-ecdsa/blob/master/SECURITY.mdcnnvd
- https://github.com/tlsfuzzer/python-ecdsa/security/advisories/GHSA-wj6h-64fc-37mpcnnvd
- https://minerva.crocs.fi.muni.cz/cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2024-23342cnnvd
- https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/cnnvd
- https://github.com/tlsfuzzer/python-ecdsa/blob/master/SECURITY.mdenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan