ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2023-29197

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:16.04:LTSphp-guzzlehttp-psr7
All versions, no fix listed
Ubuntu:20.04:LTSphp-guzzlehttp-psr7
All versions before 1.4.2-0.1+deb10u2build0.20.04.1 (fixed in 1.4.2-0.1+deb10u2build0.20.04.1)
Ubuntu:20.04:LTSphp-nyholm-psr7
All versions, no fix listed
Ubuntu:Pro:22.04:LTSphp-guzzlehttp-psr7
All versions before 1.8.3-1ubuntu0.1~esm1 (fixed in 1.8.3-1ubuntu0.1~esm1)
Ubuntu:Pro:22.04:LTSphp-nyholm-psr7
All versions before 1.5.0-1ubuntu0.1~esm1 (fixed in 1.5.0-1ubuntu0.1~esm1)

References