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

7.4 CVSS

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.

Classification

CVE ID: CVE-2024-23342

CVSS Base Severity: HIGH

CVSS Base Score: 7.4

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Problem Types

CWE-203: Observable Discrepancy CWE-208: Observable Timing Discrepancy CWE-385: Covert Timing Channel

Affected Products

Vendor: tlsfuzzer

Product: python-ecdsa

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.46% (probability of being exploited)

EPSS Percentile: 62.98% (scored less or equal to compared to others)

EPSS Date: 2025-06-07 (when was this score calculated)

Stakeholder-Specific Vulnerability Categorization (SSVC)

SSVC Exploitation: poc

SSVC Technical Impact: total

SSVC Automatable: false

References

https://nvd.nist.gov/vuln/detail/CVE-2024-23342
https://github.com/tlsfuzzer/python-ecdsa/security/advisories/GHSA-wj6h-64fc-37mp
https://github.com/tlsfuzzer/python-ecdsa/blob/master/SECURITY.md
https://minerva.crocs.fi.muni.cz/
https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/

Timeline