CVE-2024-34703: Botan Vulnerable to Denial of Service Due to Overly Large Elliptic Curve Parameters

Published Jun 30, 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 versions 3.3.0 and 2.19.4, an attacker could present an ECDSA X.509 certificate using explicit encoding where the parameters are very large. The proof of concept used a 16Kbit prime for this purpose. When parsing, the parameter is checked to be prime, causing excessive computation. This was patched in 2.19.4 and 3.3.0 to allow the prime parameter of the elliptic curve to be at most 521 bits. No known workarounds are available. Note that support for explicit encoding of elliptic curve parameters is deprecated in Botan.

Affected Software

1 affected component
Botan Botan<2.19.4, <3.3.0

Event History

Jun 30, 2024
CVE Published
via MITRE·08:22 PM
Data Sourced
via MITRE·08:22 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-34703?

CVE-2024-34703 is classified as a medium severity vulnerability affecting the Botan cryptography library.

2

How do I fix CVE-2024-34703?

To mitigate CVE-2024-34703, upgrade to Botan version 3.3.0 or 2.19.4 or later.

3

Which versions of Botan are affected by CVE-2024-34703?

CVE-2024-34703 affects Botan versions prior to 3.3.0 and 2.19.4.

4

What type of attack does CVE-2024-34703 expose Botan to?

CVE-2024-34703 allows an attacker to exploit ECDSA X.509 certificates through the use of explicit encoding.

5

Is CVE-2024-34703 relevant to all users of Botan?

Yes, CVE-2024-34703 is relevant to all users of Botan versions before 3.3.0 and 2.19.4, particularly those utilizing X.509 certificates.

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