logo

CVE-2023-29197 guzzlehttp/psr7

Package

Manager: composer
Name: guzzlehttp/psr7
Vulnerable Version: >=0 <1.9.1 || >=2.0.0 <2.4.5

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

EPSS: 0.02291 pctl0.8411

Details

Improper header name validation in guzzlehttp/psr7 ### 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

Metadata

Created: 2023-04-19T18:25:53Z
Modified: 2023-04-19T18:25:53Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-wxmh-65f7-jcvw/GHSA-wxmh-65f7-jcvw.json
CWE IDs: ["CWE-436"]
Alternative ID: GHSA-wxmh-65f7-jcvw
Finding: F184
Auto approve: 1