GHSA-6528-wvf6-f6qgHighCVSS 7.5

Pycrypto generates weak key parameters

Published
July 12, 2018
Last Modified
October 18, 2024

🔗 CVE IDs covered (1)

📋 Description

lib/Crypto/PublicKey/ElGamal.py in PyCrypto through 2.6.1 generates weak ElGamal key parameters, which allows attackers to obtain sensitive information by reading ciphertext data (i.e., it does not have semantic security in face of a ciphertext-only attack). The Decisional Diffie-Hellman (DDH) assumption does not hold for PyCrypto's ElGamal implementation.

🎯 Affected products1

  • pip/pycrypto:<= 2.6.1

🔗 References (9)