Use of a Broken or Risky Cryptographic Algorithm Affecting libgcrypt package, versions <0:1.8.5-7.el8_6


Severity

Recommended
0.0
medium
0
10

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.25% (65th 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 Learn

Learn about Use of a Broken or Risky Cryptographic Algorithm vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ROCKY8-LIBGCRYPT-3196160
  • published5 Jan 2023
  • disclosed6 Sept 2021

Introduced: 6 Sep 2021

CVE-2021-40528  (opens in a new tab)
CWE-327  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 libgcrypt to version 0:1.8.5-7.el8_6 or higher.
This issue was patched in RLSA-2022:5311.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libgcrypt package and not the libgcrypt package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

The ElGamal implementation in Libgcrypt before 1.9.4 allows plaintext recovery because, during interaction between two cryptographic libraries, a certain dangerous combination of the prime defined by the receiver's public key, the generator defined by the receiver's public key, and the sender's ephemeral exponents can lead to a cross-configuration attack against OpenPGP.

CVSS Scores

version 3.1