Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS05anhyLW13cHAtdzY0M84AAy64

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

Permalink: https://github.com/advisories/GHSA-9jxr-mwpp-w643
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05anhyLW13cHAtdzY0M84AAy64
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 1 year ago
Updated: over 1 year ago


CVSS Score: 5.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Identifiers: GHSA-9jxr-mwpp-w643
References: Repository: https://github.com/guzzle/psr7
Blast Radius: 10.8

Affected Packages

packagist:httpsoft/http-message
Dependent packages: 46
Dependent repositories: 109
Downloads: 417,458 total
Affected Version Ranges: < 1.0.12
Fixed in: 1.0.12
All affected versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.0.10, 1.0.11
All unaffected versions: 1.0.12, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6