Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. botan
  4. ›
  5. CVE-2021-40529

CVE-2021-40529: Use of a Broken or Risky Cryptographic Algorithm

September 6, 2021 (updated November 7, 2023)

The ElGamal implementation in Botan, 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.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-40529

Code Behaviors & Features

Detect and mitigate CVE-2021-40529 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.18.1

Fixed versions

  • 2.18.2

Solution

Upgrade to version 2.18.2 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-327: Use of a Broken or Risky Cryptographic Algorithm

Source file

conan/botan/CVE-2021-40529.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:54 +0000.