CVE-2023-29197
highpriority · track · 30EPSS 0.012 · 68 %ileDEEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.3–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (11)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-1626MediaWiki: Mehrere SchwachstellenDeutsch2023-07-02csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in MediaWiki ausnutzen, um einen nicht näher spezifizierten Angriff und einen Cross-Site-Scripting Angriff duchzuführen.
- GHSA-wxmh-65f7-jcvwImproper header name validation in guzzlehttp/psr72023-04-19ghsa · osvUS
### Impact 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`. ### Patches The issue is patched in 1.9.1 and 2.4.5. ### Workarounds There are no known workarounds. ### References * https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (22)
External citations — patches, advisories, analysis.
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-24775cnnvd
- https://cxsecurity.com/cveshow/CVE-2023-29197/cnnvd
- https://github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96cnnvd
- https://github.com/guzzle/psr7/security/advisories/GHSA-wxmh-65f7-jcvwcnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FJANWDXJZE5BGLN4MQ4FEHV5LJ6CMKQF/cnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O35UN4IK6VS2LXSRWUDFWY7NI73RKY2U/cnnvd
- https://www.auscert.org.au/bulletins/ESB-2024.0014cnnvd
- https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan