CVE-2024-34702: Botan has a Denial of Service Due to Excessive Name Constraints

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. Prior to 3.5.0 and 2.19.5, checking name constraints in X.509 certificates is quadratic in the number of names and name constraints. An attacker who presented a certificate chain which contained a very large number of names in the SubjectAlternativeName, signed by a CA certificate which contained a large number of name constraints, could cause a denial of service. The problem has been addressed in Botan 3.5.0 and a partial backport has also been applied and is included in Botan 2.19.5.

Affected Software

1 affected component
Botan Botan<3.5.0, <2.19.5

Event History

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

Frequently Asked Questions

1

What is the severity of CVE-2024-34702?

CVE-2024-34702 is considered to have a high severity due to the performance impact of quadratic time complexity in name constraints checking.

2

How do I fix CVE-2024-34702?

To fix CVE-2024-34702, upgrade Botan to version 3.5.0 or later, or 2.19.5 or later.

3

What versions of Botan are affected by CVE-2024-34702?

Botan versions prior to 3.5.0 and 2.19.5 are affected by CVE-2024-34702.

4

What does CVE-2024-34702 affect in Botan?

CVE-2024-34702 affects the performance of name constraints checking in X.509 certificates.

5

What types of attacks could CVE-2024-34702 enable?

CVE-2024-34702 could enable denial of service attacks due to excessive resource consumption during name constraints checking.

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