CVE-2024-39312: Botan has an Authorization Error due to Name Constraint Decoding Bug
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-39312?
CVE-2024-39312 is classified as a medium severity vulnerability in Botan.
How do I fix CVE-2024-39312?
To fix CVE-2024-39312, upgrade Botan to version 3.5.0 or later, or 2.19.5 or later.
Which versions of Botan are affected by CVE-2024-39312?
CVE-2024-39312 affects Botan versions prior to 3.5.0 and 2.19.5.
What type of vulnerability is CVE-2024-39312?
CVE-2024-39312 is a parsing bug related to name constraint extensions in X.509 certificates.
What software does CVE-2024-39312 affect?
CVE-2024-39312 affects the Botan cryptography library.