Inconsistent interpretation of HTTP requests in PSR-7 - CVE-2023-29197

 

Inconsistent interpretation of HTTP requests in PSR-7 - CVE-2023-29197

Published: April 18, 2023 / Updated: July 3, 2023


Vulnerability identifier: #VU75203
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-29197
CWE-ID: CWE-444
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform HTTP request smuggling attacks.

The vulnerability exists due to improper validation of HTTP requests. A remote attacker can send a specially crafted HTTP request that contains a newline character to the server and smuggle arbitrary HTTP headers.

Successful exploitation of vulnerability may allow an attacker to poison HTTP cache and perform phishing attacks.


Affected software

PSR-7
MediaWiki
Ubuntu
Fedora
php-nyholm-psr7 (Ubuntu package)
php-guzzlehttp-psr7 (Ubuntu package)
php-nyholm-psr7

How to mitigate CVE-2023-29197

Install updates from vendor's website.

PSR-7 - addressed in versions 1.9.1, 2.4.5
MediaWiki - addressed in versions 1.35.11, 1.38.7, 1.39.4
php-nyholm-psr7 (Ubuntu package) - update to Ubuntu Pro
php-guzzlehttp-psr7 (Ubuntu package) - addressed in versions Ubuntu Pro, 1.4.2-0.1+deb10u2build0.20.04.1
php-nyholm-psr7 - addressed in versions 1.6.1-1.fc37, 1.6.1-1.fc38, 1.7.0-1.fc38

External References

Related Security Bulletins