p PatchFirst

CVE-2023-26044

CVE-2023-26044 · ReactPHP's HTTP server continues parsing unused multipart parts after reaching limits

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.3 · Medium · EPSS 0.7% · Fix available

Published
Updated

Stack: system · php

Affected products and versions

  • http

    Versions
    • >= 0.8.0, < 1.9.0: Affected

    No fix published

  • react/http Packagist

    Versions
    • v0.8.0
    • v0.8.1
    • v0.8.2
    • v0.8.3
    • v0.8.4
    • v0.8.5
    • v0.8.6
    • v0.8.7
    • v1.0.0
    • v1.1.0
    • v1.2.0
    • v1.3.0
    • v1.4.0
    • v1.5.0
    • v1.6.0
    • v1.7.0
    • v1.8.0
    Affected ranges
    • ECOSYSTEM: ≥ 0.8.0, < 1.9.0

    Update to 1.9.0

  • php-react-http Ubuntu:20.04:LTS

    Versions
    • 0.8.3-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →