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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3705-1 |
Debian Bugs | 1034581, 1034597 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
php-guzzlehttp-psr7 (PTS) | bullseye | 1.7.0-1+deb11u2 | fixed |
bookworm | 2.4.5-1 | fixed | |
sid, trixie | 2.7.0-1 | fixed | |
php-nyholm-psr7 (PTS) | bullseye | 1.3.2-2+deb11u1 | fixed |
bookworm | 1.5.1-2 | fixed | |
sid, trixie | 1.8.2-1 | 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 | buster | 1.4.2-0.1+deb10u2 | DLA-3705-1 | ||
php-guzzlehttp-psr7 | source | bullseye | 1.7.0-1+deb11u2 | |||
php-guzzlehttp-psr7 | source | (unstable) | 2.4.5-1 | 1034581 | ||
php-nyholm-psr7 | source | bullseye | 1.3.2-2+deb11u1 | |||
php-nyholm-psr7 | source | (unstable) | 1.5.1-2 | 1034597 |
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)