Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Reactphp | Http | >= 0.7.0, < 1.7.0 |
Related Weaknesses (CWE)
References
- https://github.com/reactphp/http/commit/663c9a3b77b71463fa7fcb76a6676ffd16979dd6PatchThird Party Advisory
- https://github.com/reactphp/http/pull/175Issue TrackingPatchThird Party Advisory
- https://github.com/reactphp/http/releases/tag/v1.7.0Release NotesThird Party Advisory
- https://github.com/reactphp/http/security/advisories/GHSA-w3w9-vrf5-8mx8Issue TrackingPatchThird Party Advisory
- https://github.com/reactphp/http/commit/663c9a3b77b71463fa7fcb76a6676ffd16979dd6PatchThird Party Advisory
- https://github.com/reactphp/http/pull/175Issue TrackingPatchThird Party Advisory
- https://github.com/reactphp/http/releases/tag/v1.7.0Release NotesThird Party Advisory
- https://github.com/reactphp/http/security/advisories/GHSA-w3w9-vrf5-8mx8Issue TrackingPatchThird Party Advisory
FAQ
What is CVE-2022-36032?
CVE-2022-36032 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 incomi...
How severe is CVE-2022-36032?
CVE-2022-36032 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-36032?
Check the references section above for vendor advisories and patch information. Affected products include: Reactphp Http.