logo

GHSA-9jxr-mwpp-w643 httpsoft/http-message

Package

Manager: composer
Name: httpsoft/http-message
Vulnerable Version: >=0 <1.0.12

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: N/A pctlN/A

Details

Improper header validation in httpsoft/http-message ### 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.0.12. ### Workarounds There are no known workarounds. ### References * https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4

Metadata

Created: 2023-04-21T20:27:12Z
Modified: 2023-04-21T20:27:12Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-9jxr-mwpp-w643/GHSA-9jxr-mwpp-w643.json
CWE IDs: ["CWE-436"]
Alternative ID: N/A
Finding: F184
Auto approve: 1