CVE-2018-6594
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 3.4.11-1 |
| sid | Fixed | 3.4.11-1 |
| forky | Fixed | 3.4.11-1 |
| bullseye | Fixed | 3.4.11-1 |
| bookworm | Fixed | 3.4.11-1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-6594
- https://github.com/dlitz/pycrypto/issues/253
- https://github.com/TElgamal/attack-on-pycrypto-elgamal
- https://github.com/advisories/GHSA-6528-wvf6-f6qg
- https://github.com/dlitz/pycrypto
- https://github.com/pypa/advisory-database/tree/main/vulns/pycrypto/PYSEC-2018-97.yaml
- https://lists.debian.org/debian-lts-announce/2018/02/msg00018.html
- https://security.gentoo.org/glsa/202007-62
- https://usn.ubuntu.com/3616-1
- https://usn.ubuntu.com/3616-2
- https://www.suse.com/security/cve/CVE-2018-6594.html
- https://usn.ubuntu.com/3616-1/
- https://usn.ubuntu.com/3616-2/
- https://security-tracker.debian.org/tracker/CVE-2018-6594
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.