CVE-2021-40529 Weak cryptography in n/a

Medium 5.9 Published Updated

A flaw in Botan's ElGamal implementation allows plaintext recovery via cross-configuration attacks, impacting applications like Thunderbird.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-40529?

CVE-2021-40529 is a medium-severity vulnerability in Fedoraproject Fedora, published on 6 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-327

Which versions are affected by CVE-2021-40529?

It affects 3 products.

Linux distribution packages (1)
Botan openSUSE:TumbleweedAll versions2.18.2-1.1

Products include Botan Project Botan, Fedoraproject Fedora, Mozilla Thunderbird.

How do I fix CVE-2021-40529?

Upgrade to a fixed version.

Is CVE-2021-40529 being exploited?

There is no known exploitation of CVE-2021-40529 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALPINE-CVE-2021-40529, DEBIAN-CVE-2021-40529, GHSA-f9qg-252f-g8cg, MGASA-2021-0563, UBUNTU-CVE-2021-40529, openSUSE-SU-2024:11661-1.

Is CVE-2021-40529 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free