Botan has an Authorization Error due to Name Constraint Decoding Bug
Summary
Botan has an Authorization Error due to Name Constraint Decoding Bug
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Alpine Linux ALPINE-CVE-2024-39312 botan Fixed in: 2.19.5-r0
- Debian DEBIAN-CVE-2024-39312 botan
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov