~ / search / GHSA-ff7q-6vwh-v9m4

GHSA-ff7q-6vwh-v9m4

Name confusion in x509 Subject Alternative Name fields

Source: GitHub Advisory Database (reviewed) High CVE-2023-52892

Packages

EcosystemPackageAffectedFixed in
Packagist phpseclib/phpseclib < 1.0.22 1.0.22
Packagist phpseclib/phpseclib >= 2.0.0, < 2.0.46 2.0.46
Packagist phpseclib/phpseclib >= 3.0.0, < 3.0.33 3.0.33

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.