ADVISORIES

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

EcosystemPackageAffected versions
Debian:12php-phpseclib
All versions before 2.0.42-1+deb12u3 (fixed in 2.0.42-1+deb12u3)
Debian:13php-phpseclib
All versions before 2.0.46-1 (fixed in 2.0.46-1)
Debian:14php-phpseclib
All versions before 2.0.46-1 (fixed in 2.0.46-1)
Debian:12php-phpseclib3
All versions before 3.0.19-1+deb12u4 (fixed in 3.0.19-1+deb12u4)
Debian:13php-phpseclib3
All versions before 3.0.33-1 (fixed in 3.0.33-1)
Debian:14php-phpseclib3
All versions before 3.0.33-1 (fixed in 3.0.33-1)
Debian:12phpseclib
All versions before 1.0.20-1+deb12u3 (fixed in 1.0.20-1+deb12u3)
Debian:13phpseclib
All versions before 1.0.22-1 (fixed in 1.0.22-1)

References