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.
[
{
"cpes": [
"cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*"
],
"vendor": "phpseclib",
"product": "phpseclib",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.0.22",
"versionType": "custom"
},
{
"status": "affected",
"version": "2.0",
"lessThan": "2.0.46",
"versionType": "custom"
},
{
"status": "affected",
"version": "3.0",
"lessThan": "3.0.33",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
}
]