CVE-2018-6594

Source
https://cve.org/CVERecord?id=CVE-2018-6594
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6594.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-6594
Aliases
Downstream
Published
2018-02-03T15:29:00.653Z
Modified
2026-07-08T05:54:59.149905092Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:a:dlitz:pycrypto:*:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "last_affected": "2.6.1"
                }
            ],
            "vendor_product": "dlitz:pycrypto",
            "source": "CPE_RANGE"
        },
        {
            "cpes": [
                "cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
                {
                    "introduced": "12.04"
                },
                {
                    "last_affected": "12.04"
                },
                {
                    "introduced": "14.04"
                },
                {
                    "last_affected": "14.04"
                },
                {
                    "introduced": "16.04"
                },
                {
                    "last_affected": "16.04"
                },
                {
                    "introduced": "17.10"
                },
                {
                    "last_affected": "17.10"
                }
            ],
            "source": "CPE_STRING"
        },
        {
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
                {
                    "introduced": "7.0"
                },
                {
                    "last_affected": "7.0"
                }
            ],
            "source": "CPE_STRING"
        }
    ]
}
References

Affected packages

Git / github.com/pycrypto/pycrypto

Affected ranges

Type
GIT
Repo
https://github.com/pycrypto/pycrypto
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.6.1"
        }
    ],
    "source": "DESCRIPTION"
}

Affected versions

v1.*
v1.9a1
v1.9a2
v1.9a3
v1.9a4
v1.9a5
v2.*
v2.1.0
v2.1.0alpha1
v2.1.0alpha2
v2.1.0b1
v2.2
v2.3
v2.4
v2.4.1
v2.5
v2.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6594.json"