CVE-2024-34702CWE-405

Botan has a Denial of Service Due to Excessive Name Constraints

Medium · published July 8, 2024

CVSS v3.1
5.3
EPSS
1%
Percentile
57.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00845 · 57.6th percentile
Weakness
CWE-405 · Asymmetric Resource Consumption (Amplification)
Published
2024-07-08T16:22Z
EPSS history
Timeline
  • 08 JUL 16:22Z
    Botan has a Denial of Service Due to Excessive Name Constraints
    cvelistv5