CVE-2023-52892
Name confusion in x509 Subject Alternative Name fields
Reported by mitre · Published June 27, 2024
phpseclib/phpseclib is fixed in 3.0.33, 2.0.46 and 1.0.22 (Packagist)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| phpseclib/phpseclib | Packagist | 3.0.33, 2.0.46, 1.0.22 |
| phpseclib | phpseclib | 3.0.33, 2.0.46, 1.0.22 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| phpseclib | phpseclib | 2.0, 3.0, 0 |
| phpseclib | phpseclib | 0, 2.0.0, 3.0.0 |
Timeline
- Jun 27, 2024 CVE Published
- Jun 28, 2024 CVE Updated
- Jun 28, 2024 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (9 in total, the first dated here)
- Mar 11, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-52892
vulnetix vdb fixes CVE-2023-52892
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-52892/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart