CVE-2024-23342
Minerva timing attack on P-256 in python-ecdsa
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | ecdsa | >= 0 | nicht erfasst |
Betroffene Produkte · Tlsfuzzer
| Produkt | Betroffene Versionen |
|---|---|
| Ecdsa | bis einschließlich 0.18.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/tlsfuzzer/python-ecdsa/blob/master/SECURITY.md
- https://github.com/tlsfuzzer/python-ecdsa/security/advisories/GHSA-wj6h-64fc-37mp
- https://minerva.crocs.fi.muni.cz/
- https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python/
- https://github.com/advisories/GHSA-wj6h-64fc-37mp
- https://nvd.nist.gov/vuln/detail/CVE-2024-23342
- https://minerva.crocs.fi.muni.cz
- https://securitypitfalls.wordpress.com/2018/08/03/constant-time-compare-in-python