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.
{ "nvd_published_at": "2024-01-23T00:15:26Z", "cwe_ids": [ "CWE-203", "CWE-208", "CWE-385" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2024-01-22T21:35:27Z" }