CVE-2023-26044 ReactPHP's HTTP server continues parsing unused multipart parts after reaching limits
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- PHPUbuntu
Description
react/http is an event-driven, streaming HTTP client and server implementation for ReactPHP. Previous versions of ReactPHP's HTTP server component contain a potential DoS vulnerability that can cause high CPU load when processing large HTTP request bodies. This vulnerability has little to no impact on the default configuration, but can be exploited when explicitly using the RequestBodyBufferMiddleware with very large settings. This might lead to consuming large amounts of CPU time for processing requests and significantly delay or slow down the processing of legitimate user requests. This issue has been addressed in release 1.9.0. Users are advised to upgrade. Users unable to upgrade may keep the request body limited using RequestBodyBufferMiddleware with a sensible value which should mitigate the issue. An infrastructure or DevOps workaround could be to place a reverse proxy in front of the ReactPHP HTTP server to filter out any excessive HTTP request bodies.
Upgrade path
3 packages: 2 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/php-react-http(Ubuntu 20.04) | = 0.8.3-3; All versions | No fix listed | No fix yet |
| react/http(Packagist) | = v0.8.0; = v0.8.1; = v0.8.2; = v0.8.3 +14 more | 1.9.0 | Fixed |
| reactphp http | = >= 0.8.0, < 1.9.0; >= 0.8.0, < 1.9.0 | 1.9.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| react/http(Packagist) | >= 0.8.0, < 1.9.0 | 1.9.0 |
| react/http(Packagist) | = v0.8.0 | No fix listed |
| react/http(Packagist) | = v0.8.1 | No fix listed |
| react/http(Packagist) | = v0.8.2 | No fix listed |
| react/http(Packagist) | = v0.8.3 | No fix listed |
| react/http(Packagist) | = v0.8.4 | No fix listed |
| react/http(Packagist) | = v0.8.5 | No fix listed |
| react/http(Packagist) | = v0.8.6 | No fix listed |
| react/http(Packagist) | = v0.8.7 | No fix listed |
| react/http(Packagist) | = v1.0.0 | No fix listed |
| react/http(Packagist) | = v1.1.0 | No fix listed |
| react/http(Packagist) | = v1.2.0 | No fix listed |
| react/http(Packagist) | = v1.3.0 | No fix listed |
| react/http(Packagist) | = v1.4.0 | No fix listed |
| react/http(Packagist) | = v1.5.0 | No fix listed |
| react/http(Packagist) | = v1.6.0 | No fix listed |
| react/http(Packagist) | = v1.7.0 | No fix listed |
| react/http(Packagist) | = v1.8.0 | No fix listed |
| reactphp http | = >= 0.8.0, < 1.9.0 | No fix listed |
| reactphp http | >= 0.8.0, < 1.9.0 | 1.9.0 |
| ubuntu/php-react-http(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/php-react-http(Ubuntu:20.04) | = 0.8.3-3 | No fix listed |
References
- github.com vendor-advisory
- https://github.com/reactphp/http/security/advisories/GHSA-95x4-j7vc-h8mf issue-tracking vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- https://github.com/reactphp/http/commit/9681f764b80c45ebfb5fe2ea7da5bd3babfcdcfd issue-tracking patch
- github.com exploit
- github.com vendor-advisory
- github.com product
- github.com
- ubuntu.com issue-tracking
- github.com issue-tracking
- www.cve.org issue-tracking