Use of a Broken or Risky Cryptographic Algorithm Affecting botan package, versions <2.18.1+dfsg-3


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.29% (69th 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-DEBIAN12-BOTAN-1582887
  • published7 Sept 2021
  • disclosed6 Sept 2021

Introduced: 6 Sep 2021

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

How to fix?

Upgrade Debian:12 botan to version 2.18.1+dfsg-3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream botan package and not the botan package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

The ElGamal implementation in Botan through 2.18.1, as used in Thunderbird and other products, 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