CVE-2023-26044CWE-400

ReactPHP's HTTP server continues parsing unused multipart parts after reaching limits

Medium · published May 17, 2023

CVSS v3.1
5.3
EPSS
1%
Percentile
51.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.00680 · 51.8th percentile
Weakness
CWE-400 · Uncontrolled Resource Consumption
Published
2023-05-17T17:24Z
EPSS history
Timeline
  • 17 MAY 17:24Z
    ReactPHP's HTTP server continues parsing unused multipart parts after reaching limits
    cvelistv5