Name | CVE-2023-29197 |
Description | guzzlehttp/psr7 is a PSR-7 HTTP message library implementation in PHP. Affected versions are subject to improper header parsing. An attacker could sneak in a newline (\n) into both the header names and values. While the specification states that \r\n\r\n is used to terminate the header list, many servers in the wild will also accept \n\n. This is a follow-up to CVE-2022-24775 where the fix was incomplete. The issue has been patched in versions 1.9.1 and 2.4.5. There are no known workarounds for this vulnerability. Users are advised to upgrade. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1034581, 1034597 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
php-guzzlehttp-psr7 (PTS) | buster | 1.4.2-0.1+deb10u1 | vulnerable |
bullseye | 1.7.0-1+deb11u1 | vulnerable | |
bookworm, sid | 2.4.5-1 | fixed | |
php-nyholm-psr7 (PTS) | bullseye | 1.3.2-2 | vulnerable |
bookworm, sid | 1.5.1-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
php-guzzlehttp-psr7 | source | (unstable) | 2.4.5-1 | 1034581 | ||
php-nyholm-psr7 | source | (unstable) | 1.5.1-2 | 1034597 |
[bullseye] - php-guzzlehttp-psr7 <no-dsa> (Minor issue; can be fixed via point release)
[buster] - php-guzzlehttp-psr7 <no-dsa> (Minor issue)
[bullseye] - php-nyholm-psr7 <no-dsa> (Minor issue; can be fixed via point release)
https://github.com/guzzle/psr7/security/advisories/GHSA-wxmh-65f7-jcvw
https://github.com/guzzle/psr7/commit/0454e12ef0cd597ccd2adb036f7bda4e7fface66 (2.4.5)
https://github.com/Nyholm/psr7/security/advisories/GHSA-wjfc-pgfp-pv9c
https://github.com/Nyholm/psr7/commit/1029a2671cbdd3e075a21952082c2be7c8018426 (1.6.1)