CVE-2021-40529
CVE-2021-40529
CVSS 5.9 · Medium · EPSS 1.5% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- botan Alpine 3.14Update to 2.17.3-r3
- botan Alpine 3.15Update to 2.18.1-r3
- botan Alpine 3.16Update to 2.18.1-r3
- botan Alpine 3.17Update to 2.18.1-r3
- and 12 more
Check the installed version:
apk list -I -o botanAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2024:11661-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2024:11670-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2021:1635-1 · openSUSE Leap 15.2 ·
- openSUSE-SU-2021:4150-1 · openSUSE Leap 15.3 ·
- SUSE-SU-2021:4150-1 · SUSE Linux Enterprise Workstation Extension 15 SP2, SUSE Linux Enterprise Workstation Extension 15 SP3 ·
Stack: system
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
botan Alpine 3.14
- Affected ranges
- ECOSYSTEM: < 2.17.3-r3
Update to 2.17.3-r3
botan Alpine 3.15
- Affected ranges
- ECOSYSTEM: < 2.18.1-r3
Update to 2.18.1-r3
botan Alpine 3.16
- Affected ranges
- ECOSYSTEM: < 2.18.1-r3
Update to 2.18.1-r3
botan Alpine 3.17
- Affected ranges
- ECOSYSTEM: < 2.18.1-r3
Update to 2.18.1-r3
botan Alpine 3.18
- Affected ranges
- ECOSYSTEM: < 2.18.1-r3
Update to 2.18.1-r3
botan Alpine 3.19
- Affected ranges
- ECOSYSTEM: < 2.18.1-r3
Update to 2.18.1-r3
botan Alpine 3.20
- Affected ranges
- ECOSYSTEM: < 2.18.1-r3
Update to 2.18.1-r3
botan Alpine 3.21
- Affected ranges
- ECOSYSTEM: < 2.18.1-r3
Update to 2.18.1-r3
botan Debian 12
- Affected ranges
- ECOSYSTEM: < 2.18.1+dfsg-3
Update to 2.18.1+dfsg-3
botan Debian 13
- Affected ranges
- ECOSYSTEM: < 2.18.1+dfsg-3
Update to 2.18.1+dfsg-3
botan1.10 Ubuntu Pro 14.04 LTS
- Versions
- 1.10.5-1
- 1.10.5-1ubuntu1
- 1.10.5-1+deb7u1ubuntu0.14.04.1
- 1.10.5-1+deb7u1ubuntu0.14.04.1+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
botan1.10 Ubuntu 16.04 LTS
- Versions
- 1.10.10-6
- 1.10.12-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
botan Ubuntu 18.04 LTS
- Versions
- 2.4.0-3
- 2.4.0-4
- 2.4.0-5ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
botan1.10 Ubuntu 18.04 LTS
- Versions
- 1.10.16-1
- 1.10.17-0.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
botan Ubuntu 20.04 LTS
- Versions
- 2.9.0-2
- 2.9.0-2build1
- 2.12.1-2
- 2.12.1-2build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
botan Ubuntu Pro 22.04 LTS
- Versions
- 2.17.3+dfsg-3
- 2.19.1+dfsg-2ubuntu1
- 2.19.1+dfsg-2ubuntu1+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://eprint.iacr.org/2021/923
- https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1
- https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2
- https://github.com/randombit/botan/pull/2790
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UPHGYWNJQKWLTUWBNSFB4F66MQDIL3IB/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/72NB4OLD3VHJC3YF3PEP2HKF6BYURPAO/
- https://security.gentoo.org/glsa/202208-14
- https://nvd.nist.gov/vuln/detail/CVE-2021-40529