Bug 2208072 (CVE-2023-26044) - CVE-2023-26044 react/http: potential DoS when processing large HTTP request bodies
Summary: CVE-2023-26044 react/http: potential DoS when processing large HTTP request b...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2023-26044
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2208073
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-17 21:53 UTC by Anten Skrabec
Modified: 2023-05-18 03:41 UTC (History)
0 users

Fixed In Version: react-http 1.9.0
Doc Type: ---
Doc Text:
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.
Clone Of:
Environment:
Last Closed: 2023-05-18 03:41:23 UTC
Embargoed:


Attachments (Terms of Use)

Description Anten Skrabec 2023-05-17 21:53:15 UTC
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.


https://github.com/reactphp/http/commit/9681f764b80c45ebfb5fe2ea7da5bd3babfcdcfd
https://github.com/reactphp/http/security/advisories/GHSA-95x4-j7vc-h8mf

Comment 1 Anten Skrabec 2023-05-17 21:53:26 UTC
Created php-react-http tracking bugs for this issue:

Affects: epel-7 [bug 2208073]

Comment 2 Product Security DevOps Team 2023-05-18 03:41:22 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.