Minerva timing attack on P-256 in python-ecdsa
High severity
GitHub Reviewed
Published
Jan 22, 2024
in
tlsfuzzer/python-ecdsa
•
Updated Jan 23, 2024
Description
Published to the GitHub Advisory Database
Jan 22, 2024
Reviewed
Jan 22, 2024
Published by the National Vulnerability Database
Jan 23, 2024
Last updated
Jan 23, 2024
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