GHSA-9jxr-mwpp-w643
JSON

5.3medium

Improper header validation in httpsoft/http-message

Severity
5.3medium CVSS:3.1 by GitHub
Published
Last changed

Description

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

Affected

Product or packageVersionsReported by
httpsoft/http-message (Packagist)before 1.0.12GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-9jxr-mwpp-w643 changed 2024-12-06CC-BY-4.0