ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2018-6594

Details

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 packages

EcosystemPackageAffected versions
Ubuntu:14.04:LTSpython-crypto
All versions before 2.6.1-4ubuntu0.3 (fixed in 2.6.1-4ubuntu0.3)
Ubuntu:16.04:LTSpython-crypto
All versions before 2.6.1-6ubuntu0.16.04.3 (fixed in 2.6.1-6ubuntu0.16.04.3)
Ubuntu:18.04:LTSpycryptodome
All versions before 3.4.7-1ubuntu1 (fixed in 3.4.7-1ubuntu1)
Ubuntu:18.04:LTSpython-crypto
All versions before 2.6.1-8ubuntu2 (fixed in 2.6.1-8ubuntu2)

References