ADVISORIES

Ubuntu CVE Tracker

UBUNTU-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
Ubuntu:Pro:16.04:LTSphp-phpseclib
All versions before 2.0.1-1ubuntu0.1~esm2 (fixed in 2.0.1-1ubuntu0.1~esm2)
Ubuntu:Pro:16.04:LTSphpseclib
All versions before 1.0.1-3ubuntu0.1+esm1 (fixed in 1.0.1-3ubuntu0.1+esm1)
Ubuntu:Pro:18.04:LTSphp-phpseclib
All versions before 2.0.9-1ubuntu0.1~esm2 (fixed in 2.0.9-1ubuntu0.1~esm2)
Ubuntu:Pro:18.04:LTSphpseclib
All versions before 1.0.9-1ubuntu0.1~esm1 (fixed in 1.0.9-1ubuntu0.1~esm1)
Ubuntu:Pro:20.04:LTSphp-phpseclib
All versions before 2.0.23-2ubuntu0.1~esm2 (fixed in 2.0.23-2ubuntu0.1~esm2)
Ubuntu:Pro:20.04:LTSphpseclib
All versions before 1.0.18-2ubuntu0.1~esm1 (fixed in 1.0.18-2ubuntu0.1~esm1)
Ubuntu:22.04:LTSphpseclib
All versions before 1.0.20-1+deb12u3build0.22.04.1 (fixed in 1.0.20-1+deb12u3build0.22.04.1)
Ubuntu:Pro:22.04:LTSphp-phpseclib
All versions before 2.0.36-1ubuntu0.1~esm2 (fixed in 2.0.36-1ubuntu0.1~esm2)
Ubuntu:Pro:22.04:LTSphp-phpseclib3
All versions before 3.0.13-1ubuntu0.1~esm1 (fixed in 3.0.13-1ubuntu0.1~esm1)
Ubuntu:Pro:22.04:LTSphpseclib
All versions before 1.0.20-1ubuntu0.1~esm1 (fixed in 1.0.20-1ubuntu0.1~esm1)

References