CVE-2018-6594
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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.03%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.0
- 7.5 HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 2.03% probability · 80th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-326
- Affected
- dlitz/pycrypto · debian/debian linux · canonical/ubuntu linux
- Source
- cve@mitre.org
References
- https://github.com/TElgamal/attack-on-pycrypto-elgamalThird Party Advisory
- https://github.com/dlitz/pycrypto/issues/253Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/02/msg00018.htmlMailing List, Third 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/253Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/02/msg00018.htmlMailing List, Third 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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.