CVE-2024-39312
CVE-2024-39312 · Botan has an Authorization Error due to Name Constraint Decoding Bug
CVSS 5.3 · Medium · EPSS 0.3% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- botanNo fix published
- botan Alpine 3.17Update to 2.19.5-r0
- botan Alpine 3.18Update to 2.19.5-r0
- botan Alpine 3.19Update to 2.19.5-r0
- 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.
Botan is a C++ cryptography library. X.509 certificates can identify elliptic curves using either an object identifier or using explicit encoding of the parameters. A bug in the parsing of name constraint extensions in X.509 certificates meant that if the extension included both permitted subtrees and excluded subtrees, only the permitted subtree would be checked. If a certificate included a name which was permitted by the permitted subtree but also excluded by excluded subtree, it would be accepted. Fixed in versions 3.5.0 and 2.19.5.
- Published
- Updated
Fixes in distributions
- USN-7586-1 · Ubuntu Pro 22.04 LTS, Ubuntu Pro 24.04 LTS ·
- openSUSE-SU-2024:0201-1 · openSUSE Leap 15.5, SUSE Package Hub 15 SP5 ·
- openSUSE-SU-2024:14188-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
botan
- Versions
- < 2.19.5: Affected
- >= 3.0.0, < 3.5.0: Affected
No fix published
botan Alpine 3.17
- Affected ranges
- ECOSYSTEM: < 2.19.5-r0
Update to 2.19.5-r0
botan Alpine 3.18
- Affected ranges
- ECOSYSTEM: < 2.19.5-r0
Update to 2.19.5-r0
botan Alpine 3.19
- Affected ranges
- ECOSYSTEM: < 2.19.5-r0
Update to 2.19.5-r0
botan Alpine 3.20
- Affected ranges
- ECOSYSTEM: < 2.19.5-r0
Update to 2.19.5-r0
botan Alpine 3.21
- Affected ranges
- ECOSYSTEM: < 2.19.5-r0
Update to 2.19.5-r0
botan3 Alpine 3.21
- Affected ranges
- ECOSYSTEM: < 3.5.0-r0
Update to 3.5.0-r0
botan3 Alpine 3.22
- Affected ranges
- ECOSYSTEM: < 3.5.0-r0
Update to 3.5.0-r0
botan3 Alpine 3.23
- Affected ranges
- ECOSYSTEM: < 3.5.0-r0
Update to 3.5.0-r0
botan3 Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 3.5.0-r0
Update to 3.5.0-r0
botan Debian 12
- Versions
- 2.19.3+dfsg-1
- Affected ranges
- ECOSYSTEM: < 2.19.3+dfsg-1+deb12u1
Update to 2.19.3+dfsg-1+deb12u1
botan Debian 13
- Affected ranges
- ECOSYSTEM: < 2.19.5+dfsg-1
Update to 2.19.5+dfsg-1
botan Ubuntu 18.04 LTS
- Versions
- 2.4.0-3
- 2.4.0-4
- 2.4.0-5ubuntu1
- 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
- Affected ranges
- ECOSYSTEM: < 2.19.1+dfsg-2ubuntu1+esm1
Update to 2.19.1+dfsg-2ubuntu1+esm1
botan Ubuntu Pro 24.04 LTS
- Versions
- 2.19.3+dfsg-1ubuntu1
- 2.19.3+dfsg-1ubuntu2
- Affected ranges
- ECOSYSTEM: < 2.19.3+dfsg-1ubuntu2+esm1
Update to 2.19.3+dfsg-1ubuntu2+esm1