
CVE catalog
CVE-2023-29197
php-guzzlehttp-psr7: CVE-2023-29197
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.22% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | php-nyholm-psr7 | sid | 1.8.2-2 | fixed |
| Debian | php-nyholm-psr7 | forky | 1.8.2-2 | fixed |
| Debian | php-nyholm-psr7 | trixie | 1.8.2-2 | fixed |
| Debian | php-nyholm-psr7 | bookworm | 1.5.1-2 | fixed |
| Debian | php-guzzlehttp-psr7 | sid | 2.13.1-1 | fixed |
| Debian | php-guzzlehttp-psr7 | forky | 2.13.1-1 | fixed |
| Debian | php-guzzlehttp-psr7 | trixie | 2.7.1-1+deb13u2 | fixed |
| Debian | php-guzzlehttp-psr7 | bookworm | 2.4.5-1+deb12u1 | fixed |
| Ubuntu | php-nyholm-psr7 | pro | 1.3.2-2 | vulnerable |
| Ubuntu | php-nyholm-psr7 | pro | 1.5.0-1 | vulnerable |
| Ubuntu | php-nyholm-psr7 | pro | 1.5.0-1ubuntu0.1~esm1 | fixed |
| Ubuntu | php-guzzlehttp-psr7 | 16.04 | 1.1.0-1 | vulnerable |
| Ubuntu | php-guzzlehttp-psr7 | 16.04 | 1.2.0-1 | vulnerable |
| Ubuntu | php-guzzlehttp-psr7 | 16.04 | 1.2.1-1 | vulnerable |
| Ubuntu | php-guzzlehttp-psr7 | 16.04 | 1.2.2-1 | vulnerable |
| Ubuntu | php-guzzlehttp-psr7 | 16.04 | 1.2.2-1build1 | vulnerable |
| Ubuntu | php-guzzlehttp-psr7 | 16.04 | 1.2.2-1ubuntu1 | vulnerable |
| Ubuntu | php-guzzlehttp-psr7 | 20.04 | 1.4.2-0.1 | vulnerable |
| Ubuntu | php-guzzlehttp-psr7 | 20.04 | 1.4.2-0.1+deb10u2build0.20.04.1 | fixed |
| Ubuntu | php-nyholm-psr7 | 20.04 | 1.1.0-2 | vulnerable |
| Ubuntu | php-nyholm-psr7 | 20.04 | 1.2.1-2 | vulnerable |
| Ubuntu | php-guzzlehttp-psr7 | pro | 1.7.0-1 | vulnerable |
| Ubuntu | php-guzzlehttp-psr7 | pro | 1.8.3-1 | vulnerable |
| Ubuntu | php-guzzlehttp-psr7 | pro | 1.8.3-1ubuntu0.1~esm1 | fixed |
| Ubuntu | php-nyholm-psr7 | pro | 1.3.2-2 | vulnerable |
| Ubuntu | php-nyholm-psr7 | pro | 1.5.0-1 | vulnerable |
| Ubuntu | php-nyholm-psr7 | pro | 1.5.0-1ubuntu0.1~esm1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | php-nyholm-psr7 | source | sid | 1.5.1-2 | not yet assigned | Not reported | [1034597] |
| Debian | php-nyholm-psr7 | source | forky | 1.5.1-2 | not yet assigned | Not reported | [1034597] |
| Debian | php-nyholm-psr7 | source | trixie | 1.5.1-2 | not yet assigned | Not reported | [1034597] |
| Debian | php-nyholm-psr7 | source | bookworm | 1.5.1-2 | not yet assigned | Not reported | [1034597] |
| Debian | php-guzzlehttp-psr7 | source | sid | 2.4.5-1 | not yet assigned | Not reported | [1034581] |
| Debian | php-guzzlehttp-psr7 | source | forky | 2.4.5-1 | not yet assigned | Not reported | [1034581] |
| Debian | php-guzzlehttp-psr7 | source | trixie | 2.4.5-1 | not yet assigned | Not reported | [1034581] |
| Debian | php-guzzlehttp-psr7 | source | bookworm | 2.4.5-1 | not yet assigned | Not reported | [1034581] |
| Ubuntu | php-nyholm-psr7 | deb | pro | 1.5.0-1ubuntu0.1~esm1 | Not reported | USN-6671-1 | Not reported |
| Ubuntu | php-guzzlehttp-psr7 | deb | 20.04 | 1.4.2-0.1+deb10u2build0.20.04.1 | Not reported | UBUNTU-CVE-2023-29197 | Not reported |
| Ubuntu | php-guzzlehttp-psr7 | deb | pro | 1.8.3-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2023-29197 | Not reported |
| Ubuntu | php-nyholm-psr7 | deb | pro | 1.5.0-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2023-29197 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-29197]
- [https://osv.dev/vulnerability/DLA-3705-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-29197]
- [https://osv.dev/vulnerability/USN-6671-1]
- [https://security-tracker.debian.org/tracker/CVE-2023-29197]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1626.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]