GHSA-wjfc-pgfp-pv9c
JSON

5.3medium

Improper Input Validation in nyholm/psr7

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.6.1.

Workarounds

There are no known workarounds.

References

Affected

Product or packageVersionsReported by
nyholm/psr7 (Packagist)before 1.6.1GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-wjfc-pgfp-pv9c changed 2024-11-29CC-BY-4.0