CVE-2018-6594
HIGH severity · CVSS 7.5 · CWE-326
7.5CVSS HIGH
Summary
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.
Impact & exploitability
Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
Confidentiality impactHigh
Integrity impactNone
Availability impactNone
Exploit probability (EPSS)2%
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products we track (1)
Recommendation
Apply the vendor fix promptly. Open any affected product above for its exact safe version.
Additional information
- NVD record
- https://github.com/TElgamal/attack-on-pycrypto-elgamalAdvisory
- https://lists.debian.org/debian-lts-announce/2018/02/msg00018.htmlAdvisory
- https://security.gentoo.org/glsa/202007-62
- https://usn.ubuntu.com/3616-1/Advisory
- https://usn.ubuntu.com/3616-2/Advisory
- https://github.com/dlitz/pycrypto/issues/253Advisory