GitHub Advisoryadvisory · PyPI
GHSA-wj6h-64fc-37mp Minerva timing attack on P-256 in python-ecdsa
HIGH
Official page ↗
- Aliases
- CVE-2024-23342
- Ecosystem
- PyPI
- Packages
- ecdsa
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-203, CWE-208, CWE-385
- Reviewed
- 2024-01-22
Affected packages
• PyPI ecdsa: all versions (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2024-23342 The `ecdsa` PyPI package is a pure Python implementation of ECC (Elliptic Curve Cryptography) with support for ECDSA (Elliptic Curve… vulnerability
References
- https://github.com/tlsfuzzer/python-ecdsa/security/advisories/GHSA-wj6h-64fc-37mp web
- https://nvd.nist.gov/vuln/detail/CVE-2024-23342 advisory
- https://github.com/tlsfuzzer/python-ecdsa package
- https://github.com/tlsfuzzer/python-ecdsa/blob/master/SECURITY.md web
- https://minerva.crocs.fi.muni.cz web
- https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python web