CVE-2023-0662
DoS vulnerability when parsing multipart request body
Reported by php · Published February 16, 2023
In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, excessive number of parts in HTTP form upload can cause high resource consumption and excessive number of log entries. This can cause denial of service on the affected server by exhausting CPU resources or disk space.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php-snmp | Amazon Linux | 5.4.16-46.amzn2.0.3 |
| php-mysqlnd | Amazon Linux | 5.4.16-46.amzn2.0.3 |
| php-ldap | Amazon Linux | 5.4.16-46.amzn2.0.3 |
| php | Bitnami | 8.2.3, 8.1.16, 8.0.28 |
| php8.1-fpm | Amazon Linux | 8.1.16-1.amzn2023.0.1 |
| php-pdo | Amazon Linux | 5.4.16-46.amzn2.0.3 |
| php8.1 | Amazon Linux | 8.1.16-1.amzn2023.0.1 |
| php8.1-bcmath | Amazon Linux | 8.1.16-1.amzn2023.0.1 |
| php8.1-enchant | Amazon Linux | 8.1.16-1.amzn2023.0.1 |
| php-mbstring | Amazon Linux | 5.4.16-46.amzn2.0.3 |
| php7 | Alpine | 7.4.33-r1 |
| php8.1-gmp | Amazon Linux | 8.1.16-1.amzn2023.0.1 |
49 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | 8.0.x, 8.1.x, 8.2.x |
| PHP Group | PHP | 8.0.x, 8.1.x, 8.2.x |
Timeline
- Feb 14, 2023 CVE Published
- Feb 16, 2023 EPSS Score (30 in total, the first dated here)
- Feb 16, 2023 PoC Published (3 in total, the first dated here)
- May 22, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch (8 in total, the first dated here)
- Nov 22, 2026 Security Advisory (9 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-0662
vulnetix vdb fixes CVE-2023-0662
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-0662/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart