Lucene search

K
vulnrichmentGitHub_MVULNRICHMENT:CVE-2024-39312
HistoryJul 08, 2024 - 4:30 p.m.

CVE-2024-39312 Botan has an Authorization Error due to Name Constraint Decoding Bug

2024-07-0816:30:25
CWE-295
GitHub_M
github.com
2
botan
authorization error
x.509
parsing
bug
name constraint
decoding bug
subtrees
certificates
cryptography
library

CVSS3

5.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

NONE

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

AI Score

7

Confidence

Low

EPSS

0

Percentile

9.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. A bug in the parsing of name constraint extensions in X.509 certificates meant that if the extension included both permitted subtrees and excluded subtrees, only the permitted subtree would be checked. If a certificate included a name which was permitted by the permitted subtree but also excluded by excluded subtree, it would be accepted. Fixed in versions 3.5.0 and 2.19.5.

CNA Affected

[
  {
    "vendor": "randombit",
    "product": "botan",
    "versions": [
      {
        "status": "affected",
        "version": "< 2.19.5"
      },
      {
        "status": "affected",
        "version": ">= 3.0.0, < 3.5.0"
      }
    ]
  }
]

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:a:randombit:botan:*:*:*:*:*:*:*:*"
    ],
    "vendor": "randombit",
    "product": "botan",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "2.19.5",
        "versionType": "custom"
      },
      {
        "status": "affected",
        "version": "3.0.0",
        "lessThan": "3.5.0",
        "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

LOW

Availability Impact

NONE

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

AI Score

7

Confidence

Low

EPSS

0

Percentile

9.2%

SSVC

Exploitation

none

Automatable

yes

Technical Impact

partial