Lucene search

K
githubGitHub Advisory DatabaseGHSA-FF7Q-6VWH-V9M4
HistoryJun 28, 2024 - 12:33 a.m.

Name confusion in x509 Subject Alternative Name fields

2024-06-2800:33:31
CWE-436
GitHub Advisory Database
github.com
5
phpseclib
x509
tls certificates
regular expressions
name confusion
host verification

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

AI Score

6.7

Confidence

High

In phpseclib before 1.0.22, 2.x before 2.0.46, and 3.x before 3.0.33, some characters in Subject Alternative Name fields in TLS certificates are incorrectly allowed to have a special meaning in regular expressions (such as a + wildcard), leading to name confusion in X.509 certificate host verification.

Affected configurations

Vulners
Node
phpseclibphpseclibRange3.0.03.0.33
OR
phpseclibphpseclibRange2.0.02.0.46
OR
phpseclibphpseclibRange<1.0.22
VendorProductVersionCPE
phpseclibphpseclib*cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

AI Score

6.7

Confidence

High