Lucene search

K
vulnrichmentGitHub_MVULNRICHMENT:CVE-2024-34702
HistoryJul 08, 2024 - 4:22 p.m.

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

2024-07-0816:22:37
CWE-405
GitHub_M
github.com
2
botan
denial of service
x.509 certificates
name constraints

CVSS3

5.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

AI Score

6.6

Confidence

High

EPSS

0.001

Percentile

17.2%

SSVC

Exploitation

none

Automatable

yes

Technical Impact

partial

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.

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:a:randombit:botan:*:*:*:*:*:*:*:*"
    ],
    "vendor": "randombit",
    "product": "botan",
    "versions": [
      {
        "status": "affected",
        "version": "3.0.0",
        "lessThan": "3.5.0",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "0",
        "lessThan": "2.19.5",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "unknown"
  }
]

CVSS3

5.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

AI Score

6.6

Confidence

High

EPSS

0.001

Percentile

17.2%

SSVC

Exploitation

none

Automatable

yes

Technical Impact

partial