Skip to main content
← All vulnerabilities
CVE-2024-34702

Botan has a Denial of Service Due to Excessive Name Constraints

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.19.5, 3.5.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • randombit botan

    fixed in 2.19.5; From 3.0.0 · fixed in 3.5.0

References 13

GitHub · randombit/botan