Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTY1Mjgtd3ZmNi1mNnFn
Pycrypto generates weak key parameters
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.
Permalink: https://github.com/advisories/GHSA-6528-wvf6-f6qgJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTY1Mjgtd3ZmNi1mNnFn
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 6 years ago
Updated: 2 months ago
CVSS Score: 7.5
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Percentage: 0.00292
EPSS Percentile: 0.68699
Identifiers: GHSA-6528-wvf6-f6qg, CVE-2018-6594
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://lists.debian.org/debian-lts-announce/2018/02/msg00018.html
- https://security.gentoo.org/glsa/202007-62
- https://github.com/pypa/advisory-database/tree/main/vulns/pycrypto/PYSEC-2018-97.yaml
- https://usn.ubuntu.com/3616-1
- https://usn.ubuntu.com/3616-2
Blast Radius: 33.6
Affected Packages
pypi:pycrypto
Dependent packages: 201Dependent repositories: 30,404
Downloads: 9,550,214 last month
Affected Version Ranges: <= 2.6.1
No known fixed version
All affected versions: 2.0.1, 2.1.0, 2.4.1, 2.6.1