Debian Security Tracker
DEBIAN-CVE-2023-52892
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:12 | php-phpseclib | All versions before 2.0.42-1+deb12u3 (fixed in 2.0.42-1+deb12u3) |
| Debian:13 | php-phpseclib | All versions before 2.0.46-1 (fixed in 2.0.46-1) |
| Debian:14 | php-phpseclib | All versions before 2.0.46-1 (fixed in 2.0.46-1) |
| Debian:12 | php-phpseclib3 | All versions before 3.0.19-1+deb12u4 (fixed in 3.0.19-1+deb12u4) |
| Debian:13 | php-phpseclib3 | All versions before 3.0.33-1 (fixed in 3.0.33-1) |
| Debian:14 | php-phpseclib3 | All versions before 3.0.33-1 (fixed in 3.0.33-1) |
| Debian:12 | phpseclib | All versions before 1.0.20-1+deb12u3 (fixed in 1.0.20-1+deb12u3) |
| Debian:13 | phpseclib | All versions before 1.0.22-1 (fixed in 1.0.22-1) |