CVE-2018-6594
Dlitz Pycrypto vulnerability
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.
Affected products
Pycrypto, Debian Linux, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Dlitz Pycrypto runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/TElgamal/attack-on-pycrypto-elgamal · Third Party Advisory
- github.com/dlitz/pycrypto/issues/253 · Exploit
- lists.debian.org/debian-lts-announce/2018/02/msg00018.html · Third Party Advisory
- usn.ubuntu.com/3616-1/ · Third Party Advisory
- usn.ubuntu.com/3616-2/ · Third Party Advisory
- security.gentoo.org/glsa/202007-62
- nvd.nist.gov/vuln/detail/CVE-2018-6594
- github.com/advisories/GHSA-6528-wvf6-f6qg
- nvd.nist.gov/vuln/detail/CVE-2018-6594
- cve.org/CVERecord?id=CVE-2018-6594
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.