GitHub Advisoryadvisory · PyPI
GHSA-6528-wvf6-f6qg Pycrypto generates weak key parameters
HIGH
Official page ↗
- Aliases
- CVE-2018-6594
- Ecosystem
- PyPI
- Packages
- pycrypto
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-326
- Reviewed
- 2020-06-16
Affected packages
• PyPI pycrypto: <= 2.6.1 (no fix yet)
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.
Related
Alias · CVE (1)
- 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… vulnerability
Weakness · CWE (1)
- CWE-326 Inadequate Encryption Strength weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-6594 advisory
- https://github.com/dlitz/pycrypto/issues/253 web
- https://github.com/TElgamal/attack-on-pycrypto-elgamal web
- https://github.com/advisories/GHSA-6528-wvf6-f6qg advisory
- https://github.com/dlitz/pycrypto package
- https://github.com/pypa/advisory-database/tree/main/vulns/pycrypto/PYSEC-2018-97.yaml web
- https://lists.debian.org/debian-lts-announce/2018/02/msg00018.html web
- https://security.gentoo.org/glsa/202007-62 web
- https://usn.ubuntu.com/3616-1 web
- https://usn.ubuntu.com/3616-2 web