Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. react/http
  4. ›
  5. CVE-2023-26044

CVE-2023-26044: Uncontrolled Resource Consumption

May 17, 2023 (updated May 25, 2023)

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.

References

  • github.com/advisories/GHSA-95x4-j7vc-h8mf
  • github.com/php/php-src/commit/716de0cff539f46294ef70fe75d548cd66766370
  • github.com/php/php-src/security/advisories/GHSA-54hq-v5wp-fqgv
  • github.com/reactphp/http/commit/9681f764b80c45ebfb5fe2ea7da5bd3babfcdcfd
  • github.com/reactphp/http/releases/tag/v1.9.0
  • github.com/reactphp/http/security/advisories/GHSA-95x4-j7vc-h8mf
  • nvd.nist.gov/vuln/detail/CVE-2023-26044

Code Behaviors & Features

Detect and mitigate CVE-2023-26044 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.8.0 before 1.9.0

Fixed versions

  • 1.9.0

Solution

Upgrade to version 1.9.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Source file

packagist/react/http/CVE-2023-26044.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:22 +0000.