Vulnerability in Dlitz Pycrypto
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 attack). The Decisional Diffie-Hellman (DDH) assumption does not hold for PyCrypto's ElGamal implementation.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.020, 81.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Dlitz Pycrypto
- Canonical Ubuntu Linux — versions 12.04, 14.04, 16.04
- Debian Linux — versions 7.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 5 other repositories (ARPSyndicate/cvemon, fincham/ssh-to-pgp, jakhax/pass_cli, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/TElgamal/attack-on-pycrypto-elgamal (Third Party Advisory)
- USN-3616-1 (vendor-advisory, Third Party Advisory)
- github.com/dlitz/pycrypto/issues/253 (Exploit, Third Party Advisory, Issue Tracking)
- [debian-lts-announce] 20180215 [SECURITY] [DLA 1283-1] python-crypto security update (mailing-list, Mailing List, Third Party Advisory)
- USN-3616-2 (vendor-advisory, Third Party Advisory)
- GLSA-202007-62 (vendor-advisory)