ubuntu-cve-2018-6594
Vulnerability from osv_ubuntu
Published
2018-02-03 00:00
Modified
2025-09-08 16:44
Summary
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.
Severity
7.5 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python-crypto",
"binary_version": "2.6.1-4ubuntu0.3"
},
{
"binary_name": "python3-crypto",
"binary_version": "2.6.1-4ubuntu0.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "python-crypto",
"purl": "pkg:deb/ubuntu/python-crypto@2.6.1-4ubuntu0.3?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.6.1-4ubuntu0.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.6-5",
"2.6.1-2",
"2.6.1-2build1",
"2.6.1-3",
"2.6.1-4",
"2.6.1-4build1",
"2.6.1-4ubuntu0.1",
"2.6.1-4ubuntu0.2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python-crypto",
"binary_version": "2.6.1-6ubuntu0.16.04.3"
},
{
"binary_name": "python3-crypto",
"binary_version": "2.6.1-6ubuntu0.16.04.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "python-crypto",
"purl": "pkg:deb/ubuntu/python-crypto@2.6.1-6ubuntu0.16.04.3?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.6.1-6ubuntu0.16.04.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.6.1-5build1",
"2.6.1-6",
"2.6.1-6build1",
"2.6.1-6ubuntu0.16.04.1",
"2.6.1-6ubuntu0.16.04.2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python-pycryptodome",
"binary_version": "3.4.7-1ubuntu1"
},
{
"binary_name": "python3-pycryptodome",
"binary_version": "3.4.7-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "pycryptodome",
"purl": "pkg:deb/ubuntu/pycryptodome@3.4.7-1ubuntu1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.4.7-1ubuntu1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.4.6-1",
"3.4.7-1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "python-crypto",
"binary_version": "2.6.1-8ubuntu2"
},
{
"binary_name": "python3-crypto",
"binary_version": "2.6.1-8ubuntu2"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "python-crypto",
"purl": "pkg:deb/ubuntu/python-crypto@2.6.1-8ubuntu2?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.6.1-8ubuntu2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.6.1-7build2",
"2.6.1-8"
]
}
],
"aliases": [],
"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\u0027s ElGamal implementation.",
"id": "UBUNTU-CVE-2018-6594",
"modified": "2025-09-08T16:44:46Z",
"published": "2018-02-03T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2018-6594"
},
{
"type": "REPORT",
"url": "https://github.com/TElgamal/attack-on-pycrypto-elgamal"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3616-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3616-2"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2018-6594"
}
],
"related": [
"USN-3616-1",
"USN-3616-2"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2018-6594"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…