CVE-2018-6594 Pycrypto generates weak key parameters
HighCVSS 7.5
EPSS 2.0%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi pycrypto(PyPI) | <= 2.6.1 | No fix listed |
| pypi pycrypto(PyPI) | = 1.9a2 | No fix listed |
| pypi pycrypto(PyPI) | = 1.9a5 | No fix listed |
| pypi pycrypto(PyPI) | = 1.9a6 | No fix listed |
| pypi pycrypto(PyPI) | = 2.0 | No fix listed |
| pypi pycrypto(PyPI) | = 2.0.1 | No fix listed |
| pypi pycrypto(PyPI) | = 2.1.0 | No fix listed |
| pypi pycrypto(PyPI) | = 2.2 | No fix listed |
| pypi pycrypto(PyPI) | = 2.3 | No fix listed |
| pypi pycrypto(PyPI) | = 2.4 | No fix listed |
| pypi pycrypto(PyPI) | = 2.4.1 | No fix listed |
| pypi pycrypto(PyPI) | = 2.5 | No fix listed |
| pypi pycrypto(PyPI) | = 2.6 | No fix listed |
| pypi pycrypto(PyPI) | = 2.6.1 | No fix listed |
| pypi pycrypto(PyPI) | All versions | No fix listed |
| debian/pycryptodome(Debian:12) | < 3.4.11-1 | 3.4.11-1 |
| debian/pycryptodome(Debian:13) | < 3.4.11-1 | 3.4.11-1 |
| debian/pycryptodome(Debian:14) | < 3.4.11-1 | 3.4.11-1 |
| dlitz pycrypto | <= 2.6.1 | No fix listed |
| debian linux | = 7.0 | No fix listed |
| Canonical Ubuntu Linux | = 12.04 | No fix listed |
| Canonical Ubuntu Linux | = 14.04 | No fix listed |
| Canonical Ubuntu Linux | = 16.04 | No fix listed |
| Canonical Ubuntu Linux | = 17.10 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking third-party-advisory
- github.com third-party-advisory
- github.com vendor-advisory
- github.com product
- github.com
- [debian-lts-announce] 20180215 [SECURITY] [DLA 1283-1] python-crypto security update mailing-list third-party-advisory
- GLSA-202007-62 vendor-advisory
- USN-3616-1 third-party-advisory vendor-advisory
- USN-3616-2 third-party-advisory vendor-advisory
- Debian Security Tracker CVE-2018-6594 vendor-advisory
- bugs.debian.org issue-tracking