Lack of data validation In php-nyholm-psr7
Description
Improper header name validation in guzzlehttp/psr7
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.9.1 and 2.4.5.
Workarounds
There are no known workarounds.
References
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
debian 11 | 1.3.2-2+deb11u1 | ||
debian 13 | 1.5.1-2 | ||
packagist | 1.9.1, 2.4.5 | ||
debian 11 | 1.7.0-1+deb11u2 | ||
debian 12 | 2.4.5-1 | ||
debian 13 | 2.4.5-1 | ||
debian 12 | 1.5.1-2 | ||
debian 14 | 2.4.5-1 | ||
debian 14 | 1.5.1-2 |
Aliases
1. 2. 3. 4. 5. 6. 7. 8. 9.
References
1. 2. 3. 4. 5. 6. 7.