CVE-2024-39312: Botan has an Authorization Error due to Name Constraint Decoding Bug

Published Jul 8, 2024
·
Updated

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

3 affected components
Botan Project Botan<2.19.5
Botan Project Botan>=3.0.0<3.5.0
Botan Botan<3.5.0, <2.19.5

Event History

Jul 8, 2024
CVE Published
via MITRE·04:30 PM
Data Sourced
via MITRE·04:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-39312?

CVE-2024-39312 is classified as a medium severity vulnerability in Botan.

2

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.

3

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.

4

What type of vulnerability is CVE-2024-39312?

CVE-2024-39312 is a parsing bug related to name constraint extensions in X.509 certificates.

5

What software does CVE-2024-39312 affect?

CVE-2024-39312 affects the Botan cryptography library.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203