CVE-2023-0662: 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.
High CVSS 7.5
- CVE id
- CVE-2023-0662
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| PHP Runtimes and servers |
>= 8.0.0, < 8.0.28 >= 8.1.0, < 8.1.16 >= 8.2.0, < 8.2.3 |
8.0.28, 8.1.16, 8.2.3 |
How to fix it
Upgrade PHP to the fixed release of the line you run: 8.0.28, 8.1.16, 8.2.3.
php --version
- Install the patched PHP release of your minor line (the php image tag or your OS packages) and restart PHP-FPM.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2023-0662 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2023-0662
- Web: https://github.com/php/php-src/security/advisories/GHSA-54hq-v5wp-fqgv
- Web: https://security.netapp.com/advisory/ntap-20230517-0001/
- Web: https://github.com/php/php-src/security/advisories/GHSA-54hq-v5wp-fqgv
- Web: https://security.netapp.com/advisory/ntap-20230517-0001/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.