NetSight
high7.5

CVE-2023-52892

Name confusion in x509 Subject Alternative Name fields

Impact

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 packages

EcosystemPackageAffectedFixed in
composerphpseclib/phpseclib< 1.0.221.0.22

Affected products

VendorProductAffected versions
PhpseclibPhpseclib
from 1.0.0 before 1.0.22
from 2.0.0 before 2.0.46
from 3.0.0 before 3.0.33

Weakness classification

References