Vulnerability · Published Jun 27, 2024 · Assigned by mitre
CVE-2023-52892
High 7.5
In plain English
A high-severity security flaw in the php-phpseclib package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | php-phpseclib | 2.0.42-1+deb12u3 | DEBIAN-CVE-2023-52892 |
| Debian:13 | php-phpseclib | 2.0.46-1 | DEBIAN-CVE-2023-52892 |
| Debian:14 | php-phpseclib | 2.0.46-1 | DEBIAN-CVE-2023-52892 |
| Debian:12 | php-phpseclib3 | 3.0.19-1+deb12u4 | DEBIAN-CVE-2023-52892 |
| Debian:13 | php-phpseclib3 | 3.0.33-1 | DEBIAN-CVE-2023-52892 |
| Debian:14 | php-phpseclib3 | 3.0.33-1 | DEBIAN-CVE-2023-52892 |
| Debian:12 | phpseclib | 1.0.20-1+deb12u3 | DEBIAN-CVE-2023-52892 |
| Debian:13 | phpseclib | 1.0.22-1 | DEBIAN-CVE-2023-52892 |
| Packagist | phpseclib/phpseclib | 3.0.33 | GHSA-ff7q-6vwh-v9m4 |
| Packagist | phpseclib/phpseclib | 2.0.46 | GHSA-ff7q-6vwh-v9m4 |
| Packagist | phpseclib/phpseclib | 1.0.22 | GHSA-ff7q-6vwh-v9m4 |
| Ubuntu:22.04:LTS | phpseclib | 1.0.20-1+deb12u3build0.22.04.1 | UBUNTU-CVE-2023-52892 |
| Ubuntu:22.04:LTS | phpseclib | 1.0.20-1+deb12u3build0.22.04.1 | USN-8769-1 |
Affected products (as reported)
Weakness: CWE-436 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N