Vulnerability · Published Jan 22, 2024 · Assigned by GitHub_M
CVE-2024-23342python-ecdsa vulnerable to Minerva attack on P-256
High 7.4
In plain English
A high-severity security flaw in python-ecdsa from tlsfuzzer. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities).
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-ecdsa | no fix listed | DEBIAN-CVE-2024-23342 |
| Debian:13 | python-ecdsa | no fix listed | DEBIAN-CVE-2024-23342 |
| Debian:14 | python-ecdsa | no fix listed | DEBIAN-CVE-2024-23342 |
| PyPI | ecdsa | no fix listed | GHSA-wj6h-64fc-37mp |
| PyPI | ecdsa | no fix listed | PYSEC-2026-1325 |
| Ubuntu:22.04:LTS | python-ecdsa | no fix listed | UBUNTU-CVE-2024-23342 |
| Ubuntu:24.04:LTS | python-ecdsa | no fix listed | UBUNTU-CVE-2024-23342 |
| Ubuntu:25.10 | python-ecdsa | no fix listed | UBUNTU-CVE-2024-23342 |
| Ubuntu:26.04:LTS | python-ecdsa | no fix listed | UBUNTU-CVE-2024-23342 |
| Ubuntu:26.10 | python-ecdsa | no fix listed | UBUNTU-CVE-2024-23342 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| tlsfuzzer | python-ecdsa | <= 0.18.0 |
Weakness: CWE-203, CWE-208, CWE-385 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/tlsfuzzer/python-ecdsa/security/advisories/GHSA-wj6h-64fc-37mp x_refsource_CONFIRM
- https://github.com/tlsfuzzer/python-ecdsa/blob/master/SECURITY.md x_refsource_MISC
- https://minerva.crocs.fi.muni.cz/ x_refsource_MISC
- https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/ x_refsource_MISC