CVE-2018-6594
PyCrypto ElGamal Cryptography DDH Weakness
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.
INFO
Published Date :
Feb. 3, 2018, 3:29 p.m.
Last Modified :
Nov. 21, 2024, 4:10 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2018-6594 has a 2 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2018-6594
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2018-6594
.
URL | Resource |
---|---|
https://github.com/TElgamal/attack-on-pycrypto-elgamal | Third Party Advisory |
https://github.com/dlitz/pycrypto/issues/253 | Exploit Issue Tracking Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2018/02/msg00018.html | Mailing List Third Party Advisory |
https://security.gentoo.org/glsa/202007-62 | |
https://usn.ubuntu.com/3616-1/ | Third Party Advisory |
https://usn.ubuntu.com/3616-2/ | Third Party Advisory |
https://github.com/TElgamal/attack-on-pycrypto-elgamal | Third Party Advisory |
https://github.com/dlitz/pycrypto/issues/253 | Exploit Issue Tracking Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2018/02/msg00018.html | Mailing List Third Party Advisory |
https://security.gentoo.org/glsa/202007-62 | |
https://usn.ubuntu.com/3616-1/ | Third Party Advisory |
https://usn.ubuntu.com/3616-2/ | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Pulls pip information and OS installed packages and check if the installed version has a registered CVE
Python Jupyter Notebook
Pass Cli lets you manage your login credentials from the terminal. Password files are saved into Advance Encryption Standard AES256 encrypted files using the user's master password as the encryption key.
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2018-6594
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-6594
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Jul. 31, 2020
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/202007-62 [No Types Assigned] -
CWE Remap by [email protected]
Oct. 03, 2019
Action Type Old Value New Value Changed CWE CWE-310 CWE-200 CWE-326 -
Modified Analysis by [email protected]
Mar. 01, 2019
Action Type Old Value New Value Changed Reference Type https://usn.ubuntu.com/3616-1/ No Types Assigned https://usn.ubuntu.com/3616-1/ Third Party Advisory Changed Reference Type https://usn.ubuntu.com/3616-2/ No Types Assigned https://usn.ubuntu.com/3616-2/ Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/02/msg00018.html Third Party Advisory https://lists.debian.org/debian-lts-announce/2018/02/msg00018.html Mailing List, Third Party Advisory Added CPE Configuration OR *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:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Apr. 11, 2018
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/3616-2/ [No Types Assigned] -
CVE Modified by [email protected]
Apr. 05, 2018
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/3616-1/ [No Types Assigned] -
Initial Analysis by [email protected]
Mar. 13, 2018
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:N/A:N) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://github.com/dlitz/pycrypto/issues/253 No Types Assigned https://github.com/dlitz/pycrypto/issues/253 Exploit, Issue Tracking, Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/02/msg00018.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/02/msg00018.html Third Party Advisory Changed Reference Type https://github.com/TElgamal/attack-on-pycrypto-elgamal No Types Assigned https://github.com/TElgamal/attack-on-pycrypto-elgamal Third Party Advisory Added CWE CWE-200 Added CWE CWE-310 Added CPE Configuration OR *cpe:2.3:a:dlitz:pycrypto:*:*:*:*:*:*:*:* versions up to (including) 2.6.1 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Feb. 16, 2018
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2018/02/msg00018.html [No Types Assigned] -
CVE Modified by [email protected]
Feb. 04, 2018
Action Type Old Value New Value Changed Description lib/Crypto/PublicKey/ElGamal.py in PyCrypto through 2.6.1 generates weak ElGamal key parameters that allow chosen-plaintext attacks. The Decisional Diffie-Hellman (DDH) assumption does not hold for PyCrypto's ElGamal implementation. 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.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2018-6594
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2018-6594
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.33 }} -0.14%
score
0.67229
percentile