CVE-2021-40529
Last modified
CVE-2021-40529 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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.. EPSS estimates a 1.48% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Botan Project | Botan | <= 2.18.1 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
| Mozilla | Thunderbird | < 91.12.0 |
References
- https://eprint.iacr.org/2021/923Technical Description, Third Party Advisory
- https://github.com/randombit/botan/pull/2790Patch, Third Party Advisory
- https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2Exploit, Third Party Advisory
- https://security.gentoo.org/glsa/202208-14Third Party Advisory
- https://eprint.iacr.org/2021/923Technical Description, Third Party Advisory
- https://github.com/randombit/botan/pull/2790Patch, Third Party Advisory
- https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2Exploit, Third Party Advisory
- https://security.gentoo.org/glsa/202208-14Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-40529?
How severe is CVE-2021-40529?
How do I fix CVE-2021-40529?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-40523In Contiki 3.0, Telnet option negotiation is mishandled. Dur…7.5
- CVE-2021-40524In Pure-FTPd before 1.0.50, an incorrect max_filesize quota …7.5
- CVE-2021-40525Apache James ManagedSieve implementation alongside with the …9.1
- CVE-2021-40526Incorrect calculation of buffer size vulnerability in Peleto…5.3
- CVE-2021-40527Exposure of senstive information to an unauthorised actor in…7.5
- CVE-2021-40528The ElGamal implementation in Libgcrypt before 1.9.4 allows …5.9
- CVE-2021-4053Use after free in UI in Google Chrome on Linux prior to 96.0…8.8
- CVE-2021-40530The ElGamal implementation in Crypto++ through 8.5 allows pl…5.9
- CVE-2021-40531Sketch before 75 allows library feeds to be used to bypass f…9.8
- CVE-2021-40532Telegram Web K Alpha before 0.7.2 mishandles the characters …9.8
- CVE-2021-40537Server Side Request Forgery (SSRF) vulnerability exists in o…2.7
- CVE-2021-40539Zoho ManageEngine ADSelfService Plus version 6113 and prior …9.8
Are you affected by CVE-2021-40529?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
