GHSA-wjfc-pgfp-pv9c
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 package | Versions | Reported by |
|---|---|---|
| nyholm/psr7 (Packagist) | before 1.6.1 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-wjfc-pgfp-pv9c changed 2024-11-29 | CC-BY-4.0 |