CVE-2018-6829
published 2018-02-07CVE-2018-6829: cipher/elgamal.c in Libgcrypt through 1.8.2, when used to encrypt messages directly, improperly encodes plaintexts, which allows attackers to obtain sensitive…
PriorityP337high7.5CVSS 3.0
AVNACLPRNUINSUCHINAN
EPSS
1.81%
76.2th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | gnupg1 | — | — |
| debian | libgcrypt20 | — | — |
| gnupg | libgcrypt | <= 1.8.2 | — |
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
osv7.5HIGH
vendor_debian7.5LOW
vendor_oracle7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-wcf7-2f92-j5mv: cipher/elgamal
ghsa_unreviewed·2022-05-13
CVE-2018-6829 [HIGH] CWE-327 GHSA-wcf7-2f92-j5mv: cipher/elgamal
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.
OSV
CVE-2018-6829: cipher/elgamal
osv·2018-02-07·CVSS 7.5
CVE-2018-6829 [HIGH] CVE-2018-6829: cipher/elgamal
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.
Oracle
Oracle Oracle Communications Applications Risk Matrix: General (libgcrypt) — CVE-2018-6829
vendor_oracle·2020-01-15·CVSS 7.5
CVE-2018-6829 [HIGH] Oracle Oracle Communications Applications Risk Matrix: General (libgcrypt) — CVE-2018-6829
Oracle Oracle Communications Applications Risk Matrix: General (libgcrypt) vulnerability
CVE: CVE-2018-6829
CVSS: 7.5
Protocol: HTTP
Remote exploit: Yes
Affected versions: Network
Advisory: cpujan2020 (JAN 2020)
Red Hat
libgcrypt: ElGamal implementation doesn't have semantic security due to incorrectly encoded plaintexts possibly allowing to obtain sensitive information
vendor_redhat·2018-02-08·CVSS 7.5
CVE-2018-6829 [HIGH] CWE-200 libgcrypt: ElGamal implementation doesn't have semantic security due to incorrectly encoded plaintexts possibly allowing to obtain sensitive information
libgcrypt: ElGamal implementation doesn't have semantic security due to incorrectly encoded plaintexts possibly allowing to obtain sensitive information
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.
Statement: This is not a security flaw in libgcrypt. However if an application uses The El-gamal algorithm implemented by libgcrypt in a particular way than the application would be vulnerable to security flaw(s). More detailed explanation is available at: https://l
Debian
CVE-2018-6829: gnupg1 - cipher/elgamal.c in Libgcrypt through 1.8.2, when used to encrypt messages direc...
vendor_debian·2018·CVSS 7.5
CVE-2018-6829 [HIGH] CVE-2018-6829: gnupg1 - cipher/elgamal.c in Libgcrypt through 1.8.2, when used to encrypt messages direc...
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.
Scope: local
bookworm: open
bullseye: open
forky: open
sid: open
trixie: open
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-6829 mingw-libgcrypt: libgcrypt: ElGamal implementation doesn't have semantic security due to incorrectly encoded plaintexts possibly allowing to obtain sensitive information [epel-7]
bugzilla·2018-02-08·CVSS 7.5
CVE-2018-6829 [HIGH] CVE-2018-6829 mingw-libgcrypt: libgcrypt: ElGamal implementation doesn't have semantic security due to incorrectly encoded plaintexts possibly allowing to obtain sensitive information [epel-7]
CVE-2018-6829 mingw-libgcrypt: libgcrypt: ElGamal implementation doesn't have semantic security due to incorrectly encoded plaintexts possibly allowing to obtain sensitive information [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being
Bugzilla
CVE-2018-6829 libgcrypt: ElGamal implementation doesn't have semantic security due to incorrectly encoded plaintexts possibly allowing to obtain sensitive information [fedora-all]
bugzilla·2018-02-08·CVSS 7.5
CVE-2018-6829 [HIGH] CVE-2018-6829 libgcrypt: ElGamal implementation doesn't have semantic security due to incorrectly encoded plaintexts possibly allowing to obtain sensitive information [fedora-all]
CVE-2018-6829 libgcrypt: ElGamal implementation doesn't have semantic security due to incorrectly encoded plaintexts possibly allowing to obtain sensitive information [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in
Bugzilla
CVE-2018-6829 mingw-libgcrypt: libgcrypt: ElGamal implementation doesn't have semantic security due to incorrectly encoded plaintexts possibly allowing to obtain sensitive information [fedora-all]
bugzilla·2018-02-08·CVSS 7.5
CVE-2018-6829 [HIGH] CVE-2018-6829 mingw-libgcrypt: libgcrypt: ElGamal implementation doesn't have semantic security due to incorrectly encoded plaintexts possibly allowing to obtain sensitive information [fedora-all]
CVE-2018-6829 mingw-libgcrypt: libgcrypt: ElGamal implementation doesn't have semantic security due to incorrectly encoded plaintexts possibly allowing to obtain sensitive information [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE ID
Bugzilla
CVE-2018-6829 libgcrypt: ElGamal implementation doesn't have semantic security due to incorrectly encoded plaintexts possibly allowing to obtain sensitive information
bugzilla·2018-02-08·CVSS 7.5
CVE-2018-6829 [HIGH] CVE-2018-6829 libgcrypt: ElGamal implementation doesn't have semantic security due to incorrectly encoded plaintexts possibly allowing to obtain sensitive information
CVE-2018-6829 libgcrypt: ElGamal implementation doesn't have semantic security due to incorrectly encoded plaintexts possibly allowing to obtain sensitive information
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.
Reference:
https://lists.gnupg.org/pipermail/gcrypt-devel/2018-February/004394.html
Discussion:
Created libgcrypt tracking bugs for this issue:
Affects: fedora-all [bug 1543438]
---
Created mingw-libgcrypt tracking bugs for this issue:
Affects:
https://github.com/weikengchen/attack-on-libgcrypt-elgamalhttps://github.com/weikengchen/attack-on-libgcrypt-elgamal/wikihttps://lists.gnupg.org/pipermail/gcrypt-devel/2018-February/004394.htmlhttps://www.oracle.com/security-alerts/cpujan2020.htmlhttps://github.com/weikengchen/attack-on-libgcrypt-elgamalhttps://github.com/weikengchen/attack-on-libgcrypt-elgamal/wikihttps://lists.gnupg.org/pipermail/gcrypt-devel/2018-February/004394.htmlhttps://www.oracle.com/security-alerts/cpujan2020.html
2018-02-07
Published