CVE-2022-36032

Medium

Description

ReactPHP HTTP is a streaming HTTP client and server implementation for ReactPHP. In ReactPHP's HTTP server component versions starting with 0.7.0 and prior to 1.7.0, when ReactPHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may lead to cookies with prefixes like `__Host-` and `__Secure-` confused with cookies that decode to such prefix, thus leading to an attacker being able to forge cookie which is supposed to be secure. This issue is fixed in ReactPHP HTTP version 1.7.0. As a workaround, Infrastructure or DevOps can place a reverse proxy in front of the ReactPHP HTTP server to filter out any unexpected `Cookie` request headers.

SeverityMedium
CVSS5.3
Exploit probability—
ProductReactphp Http
PublishedSep 6, 2022
First seenSep 6, 2022

How to fix

Update
  • reactphp http1.7.0 or later
  • react/http1.7.0 or later

Affected products

ProductAffected versionsFixed in
reactphp http0.7.0 ≤ v < 1.7.01.7.0
react/httpPackagist0.7.0 ≤ v < 1.7.01.7.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.