Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Dlitz | Pycrypto | <= 2.6.1 |
| Debian | Debian Linux | 7.0 |
| Canonical | Ubuntu Linux | 12.04 |
Related Weaknesses (CWE)
References
- https://github.com/TElgamal/attack-on-pycrypto-elgamalThird Party Advisory
- https://github.com/dlitz/pycrypto/issues/253ExploitIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/02/msg00018.htmlMailing ListThird Party Advisory
- https://security.gentoo.org/glsa/202007-62
- https://usn.ubuntu.com/3616-1/Third Party Advisory
- https://usn.ubuntu.com/3616-2/Third Party Advisory
- https://github.com/TElgamal/attack-on-pycrypto-elgamalThird Party Advisory
- https://github.com/dlitz/pycrypto/issues/253ExploitIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/02/msg00018.htmlMailing ListThird Party Advisory
- https://security.gentoo.org/glsa/202007-62
- https://usn.ubuntu.com/3616-1/Third Party Advisory
- https://usn.ubuntu.com/3616-2/Third Party Advisory
FAQ
What is CVE-2018-6594?
CVE-2018-6594 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 ha...
How severe is CVE-2018-6594?
CVE-2018-6594 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-6594?
Check the references section above for vendor advisories and patch information. Affected products include: Dlitz Pycrypto, Debian Debian Linux, Canonical Ubuntu Linux.