Descriptionguzzlehttp/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.
SourceCVE (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 Bugs1034581, 1034597

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
php-guzzlehttp-psr7 (PTS)buster1.4.2-0.1+deb10u1vulnerable
bookworm, sid2.4.5-1fixed
php-nyholm-psr7 (PTS)bullseye1.3.2-2vulnerable
bookworm, sid1.5.1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


[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) (2.4.5) (1.6.1)

Search for package or bug name: Reporting problems