5.9medium
The ElGamal implementation in Botan through 2.18.1, as used in Thunderbird and other products, allows plaintext recovery because, during in…
- Severity
- 5.9medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.53% (higher than 75% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| botan_project botan | up to 2.18.1 | NVD |
| fedoraproject fedora | 34, 35 | NVD |
| mozilla thunderbird | before 91.12.0 | NVD |
All scores
| NVD | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.6low CVSS:2.0 | AV:N/AC:H/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
Una implementación de ElGamal en Botan versiones hasta 2.18.1, tal y como se usa en Thunderbird y otros productos, permite una recuperación de texto plano porque, durante la interacción entre dos bibliotecas criptográficas, una determinada combinación peligrosa del primo definido por la clave pública del receptor, el generador definido por la clave pública del receptor y los exponentes efímeros del emisor puede conllevar a un ataque de configuración cruzada contra OpenPGP.
References
| https://eprint.iacr.org/2021/923 | technical-description, third-party-advisory | |
| https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1 | third-party-advisory | |
| https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2 | exploit, third-party-advisory | |
| https://github.com/randombit/botan/pull/2790 | patch, third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UPHGYWNJQKWLTUWBNSFB4F66MQDIL3IB/ | vendor-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/72NB4OLD3VHJC3YF3PEP2HKF6BYURPAO/ | vendor-advisory | |
| https://security.gentoo.org/glsa/202208-14 | third-party-advisory, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-40529 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-40529 changed 2026-06-17 | Public domain |