7.5high
CVE-2018-6829
cipher/elgamal.c in Libgcrypt through 1.8.2, when used to encrypt messages directly, improperly encodes plaintexts, which allows attackers…
Published 8 y ago · modified 4 mo ago · JSON
CVSS
7.5
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.8%
percentile 78%
Public exploits
0
none known
Summary
cipher/elgamal.c in Libgcrypt through 1.8.2, when used to encrypt messages directly, improperly encodes plaintexts, 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 Libgcrypt's ElGamal implementation.
Exploit prediction (EPSS)
1.78% probability of exploitation in the next 30 days, higher than 78% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
- Weakness
- CWE-327 Use of a Broken or Risky Cryptographic Algorithm
References
- github.com /weikengchen/attack-on-libgcrypt-elgamal/wiki · x_refsource_MISC, x_transferred
- lists.gnupg.org /pipermail/gcrypt-devel/2018-February/004394.html · x_refsource_MISC, x_transferred
- github.com /weikengchen/attack-on-libgcrypt-elgamal · x_refsource_MISC, x_transferred
- oracle.com /security-alerts/cpujan2020.html · x_refsource_MISC, x_transferred
Sources
- CVE List: CVE-2018-6829
- NVD: CVE-2018-6829
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.