Live threats

All CVEs / Guzzlephp

CVE-2023-29197Guzzlephp Psr-7

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.3%
probability of exploitation in 30 days · percentile 71
Auth required
No
Published
Apr 17, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-436
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Psr-7.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist guzzlehttp/psr7 < 1.9.1 1.9.1 composer require "guzzlehttp/psr7:^1.9.1"
Packagist guzzlehttp/psr7 ≥ 2.0.0 < 2.4.5 2.4.5 composer require "guzzlehttp/psr7:^2.4.5"

Per OSV / GitHub Advisories (GHSA-wxmh-65f7-jcvw). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
guzzlephppsr-7< 1.9.1
guzzlephppsr-7≥ 2.0.0 < 2.4.5
fedoraprojectfedora37
fedoraprojectfedora38

Official sources

References

Links published by the sources. Open them with care.