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.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 68.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12php-phpseclib2.0.42-1+deb12u3DEBIAN-CVE-2023-52892
Debian:13php-phpseclib2.0.46-1DEBIAN-CVE-2023-52892
Debian:14php-phpseclib2.0.46-1DEBIAN-CVE-2023-52892
Debian:12php-phpseclib33.0.19-1+deb12u4DEBIAN-CVE-2023-52892
Debian:13php-phpseclib33.0.33-1DEBIAN-CVE-2023-52892
Debian:14php-phpseclib33.0.33-1DEBIAN-CVE-2023-52892
Debian:12phpseclib1.0.20-1+deb12u3DEBIAN-CVE-2023-52892
Debian:13phpseclib1.0.22-1DEBIAN-CVE-2023-52892
Packagistphpseclib/phpseclib3.0.33GHSA-ff7q-6vwh-v9m4
Packagistphpseclib/phpseclib2.0.46GHSA-ff7q-6vwh-v9m4
Packagistphpseclib/phpseclib1.0.22GHSA-ff7q-6vwh-v9m4
Ubuntu:22.04:LTSphpseclib1.0.20-1+deb12u3build0.22.04.1UBUNTU-CVE-2023-52892
Ubuntu:22.04:LTSphpseclib1.0.20-1+deb12u3build0.22.04.1USN-8769-1

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-436 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References