ALPINE-CVE-2021-40529

Source
https://security.alpinelinux.org/vuln/CVE-2021-40529
Import Source
https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-40529.json
JSON Data
https://api.osv.dev/v1/vulns/ALPINE-CVE-2021-40529
Upstream
Published
2021-09-06T19:15:07Z
Modified
2025-09-30T05:22:07.152465Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
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.

References

Affected packages

Alpine:v3.14

botan

Package

Name
botan
Purl
pkg:apk/alpine/botan?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.17.3-r3

Affected versions

2.*

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
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

Alpine:v3.15

botan

Package

Name
botan
Purl
pkg:apk/alpine/botan?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.18.1-r3

Affected versions

2.*

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
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

Alpine:v3.16

botan

Package

Name
botan
Purl
pkg:apk/alpine/botan?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.18.1-r3

Affected versions

2.*

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
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

Alpine:v3.17

botan

Package

Name
botan
Purl
pkg:apk/alpine/botan?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.18.1-r3

Affected versions

2.*

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
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

Alpine:v3.18

botan

Package

Name
botan
Purl
pkg:apk/alpine/botan?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.18.1-r3

Affected versions

2.*

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
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

Alpine:v3.19

botan

Package

Name
botan
Purl
pkg:apk/alpine/botan?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.18.1-r3

Affected versions

2.*

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
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

Alpine:v3.20

botan

Package

Name
botan
Purl
pkg:apk/alpine/botan?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.18.1-r3

Affected versions

2.*

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
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

Alpine:v3.21

botan

Package

Name
botan
Purl
pkg:apk/alpine/botan?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.18.1-r3

Affected versions

2.*

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
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