Information Exposure Affecting libgcrypt package, versions [,1.8.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-LIBGCRYPT-2374569
  • published26 Jan 2022
  • disclosed7 Feb 2018
  • creditUnknown

Introduced: 7 Feb 2018

CVE-2018-6829  (opens in a new tab)
CWE-200  (opens in a new tab)
CWE-310  (opens in a new tab)

How to fix?

Upgrade libgcrypt to version 1.8.3 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure 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.

CVSS Scores

version 3.1