~ / search / GHSA-wj6h-64fc-37mp

GHSA-wj6h-64fc-37mp

Minerva timing attack on P-256 in python-ecdsa

Source: GitHub Advisory Database (reviewed) High CVE-2024-23342

Packages

EcosystemPackageAffectedFixed in
PyPI ecdsa all versions no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.