{"id":"ALPINE-CVE-2021-40529","details":"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.","modified":"2025-11-19T06:19:07.030918Z","published":"2021-09-06T19:15:07.630Z","upstream":["CVE-2021-40529"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-40529"}],"affected":[{"package":{"name":"botan","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/botan?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.17.3-r3"}]}],"versions":["2.11.0-r0","2.11.0-r1","2.11.0-r2","2.11.0-r3","2.11.0-r4","2.11.0-r5","2.11.0-r6","2.17.3-r0","2.17.3-r1","2.17.3-r2","2.4.0-r0","2.4.0-r1","2.4.0-r2","2.5.0-r0","2.6.0-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.8.0-r0","2.9.0-r0","2.9.0-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-40529.json"}},{"package":{"name":"botan","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/botan?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.1-r3"}]}],"versions":["2.11.0-r0","2.11.0-r1","2.11.0-r2","2.11.0-r3","2.11.0-r4","2.11.0-r5","2.11.0-r6","2.17.3-r0","2.17.3-r1","2.17.3-r2","2.18.1-r0","2.18.1-r1","2.18.1-r2","2.4.0-r0","2.4.0-r1","2.4.0-r2","2.5.0-r0","2.6.0-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.8.0-r0","2.9.0-r0","2.9.0-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-40529.json"}},{"package":{"name":"botan","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/botan?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.1-r3"}]}],"versions":["2.11.0-r0","2.11.0-r1","2.11.0-r2","2.11.0-r3","2.11.0-r4","2.11.0-r5","2.11.0-r6","2.17.3-r0","2.17.3-r1","2.17.3-r2","2.18.1-r0","2.18.1-r1","2.18.1-r2","2.4.0-r0","2.4.0-r1","2.4.0-r2","2.5.0-r0","2.6.0-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.8.0-r0","2.9.0-r0","2.9.0-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-40529.json"}},{"package":{"name":"botan","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/botan?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.1-r3"}]}],"versions":["2.11.0-r0","2.11.0-r1","2.11.0-r2","2.11.0-r3","2.11.0-r4","2.11.0-r5","2.11.0-r6","2.17.3-r0","2.17.3-r1","2.17.3-r2","2.18.1-r0","2.18.1-r1","2.18.1-r2","2.4.0-r0","2.4.0-r1","2.4.0-r2","2.5.0-r0","2.6.0-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.8.0-r0","2.9.0-r0","2.9.0-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-40529.json"}},{"package":{"name":"botan","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/botan?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.1-r3"}]}],"versions":["2.11.0-r0","2.11.0-r1","2.11.0-r2","2.11.0-r3","2.11.0-r4","2.11.0-r5","2.11.0-r6","2.17.3-r0","2.17.3-r1","2.17.3-r2","2.18.1-r0","2.18.1-r1","2.18.1-r2","2.4.0-r0","2.4.0-r1","2.4.0-r2","2.5.0-r0","2.6.0-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.8.0-r0","2.9.0-r0","2.9.0-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-40529.json"}},{"package":{"name":"botan","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/botan?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.1-r3"}]}],"versions":["2.11.0-r0","2.11.0-r1","2.11.0-r2","2.11.0-r3","2.11.0-r4","2.11.0-r5","2.11.0-r6","2.17.3-r0","2.17.3-r1","2.17.3-r2","2.18.1-r0","2.18.1-r1","2.18.1-r2","2.4.0-r0","2.4.0-r1","2.4.0-r2","2.5.0-r0","2.6.0-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.8.0-r0","2.9.0-r0","2.9.0-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-40529.json"}},{"package":{"name":"botan","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/botan?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.1-r3"}]}],"versions":["2.11.0-r0","2.11.0-r1","2.11.0-r2","2.11.0-r3","2.11.0-r4","2.11.0-r5","2.11.0-r6","2.17.3-r0","2.17.3-r1","2.17.3-r2","2.18.1-r0","2.18.1-r1","2.18.1-r2","2.4.0-r0","2.4.0-r1","2.4.0-r2","2.5.0-r0","2.6.0-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.8.0-r0","2.9.0-r0","2.9.0-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-40529.json"}},{"package":{"name":"botan","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/botan?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.18.1-r3"}]}],"versions":["2.11.0-r0","2.11.0-r1","2.11.0-r2","2.11.0-r3","2.11.0-r4","2.11.0-r5","2.11.0-r6","2.17.3-r0","2.17.3-r1","2.17.3-r2","2.18.1-r0","2.18.1-r1","2.18.1-r2","2.4.0-r0","2.4.0-r1","2.4.0-r2","2.5.0-r0","2.6.0-r0","2.7.0-r0","2.7.0-r1","2.7.0-r2","2.8.0-r0","2.9.0-r0","2.9.0-r1"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-40529.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}