CVE-2022-36032

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.
References
Link Resource
https://github.com/reactphp/http/commit/663c9a3b77b71463fa7fcb76a6676ffd16979dd6 Patch Third Party Advisory
https://github.com/reactphp/http/pull/175 Issue Tracking Patch Third Party Advisory
https://github.com/reactphp/http/releases/tag/v1.7.0 Release Notes Third Party Advisory
https://github.com/reactphp/http/security/advisories/GHSA-w3w9-vrf5-8mx8 Issue Tracking Patch Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:reactphp:http:*:*:*:*:*:*:*:*

History

10 Sep 2022, 03:18

Type Values Removed Values Added
References (MISC) https://github.com/reactphp/http/commit/663c9a3b77b71463fa7fcb76a6676ffd16979dd6 - (MISC) https://github.com/reactphp/http/commit/663c9a3b77b71463fa7fcb76a6676ffd16979dd6 - Patch, Third Party Advisory
References (MISC) https://github.com/reactphp/http/releases/tag/v1.7.0 - (MISC) https://github.com/reactphp/http/releases/tag/v1.7.0 - Release Notes, Third Party Advisory
References (MISC) https://github.com/reactphp/http/pull/175 - (MISC) https://github.com/reactphp/http/pull/175 - Issue Tracking, Patch, Third Party Advisory
References (CONFIRM) https://github.com/reactphp/http/security/advisories/GHSA-w3w9-vrf5-8mx8 - (CONFIRM) https://github.com/reactphp/http/security/advisories/GHSA-w3w9-vrf5-8mx8 - Issue Tracking, Patch, Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3
CPE cpe:2.3:a:reactphp:http:*:*:*:*:*:*:*:*
First Time Reactphp http
Reactphp

06 Sep 2022, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-09-06 19:15

Updated : 2023-12-10 14:35


NVD link : CVE-2022-36032

Mitre link : CVE-2022-36032

CVE.ORG link : CVE-2022-36032


JSON object : View

Products Affected

reactphp

  • http
CWE
CWE-20

Improper Input Validation

CWE-565

Reliance on Cookies without Validation and Integrity Checking