CVE-2018-6594
HIGH 8.7EPSS 2.0%
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 v4.0 GitHub
- 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS v3.0 NVD
- 7.5 HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - CVSS v2.0 NVD
- 5.0 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:N - EPSS
- 2.03% chance of exploitation in the next 30 days, 81st percentile
- Published
- 2018-02-03
- Updated
- 2024-08-05
Proof-of-concept exploits (1)
- dlitz/pycrypto/issues/2532471★ · 2022-01-26
Security advisories
- TElgamal/attack-on-pycrypto-elgamal
- https://lists.debian.org/debian-lts-announce/2018/02/msg00018.html
- https://usn.ubuntu.com/3616-1
- https://usn.ubuntu.com/3616-2
- advisories/GHSA-6528-wvf6-f6qg