Skip to content

GHSA-wjfc-pgfp-pv9c Improper Input Validation in nyholm/psr7

MediumCVSS 5.3
Published
Updated
Exploit status
No public exploit known
Technology
PHP

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

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
nyholm/psr7(Packagist) < 1.6.1; = 0.1.0; = 0.2.0; = 0.2.1 +16 more 1.6.1 Fixed

Affected products

ProductAffected versionsFixed in
nyholm/psr7(Packagist) < 1.6.1 1.6.1
nyholm/psr7(Packagist) = 0.1.0 No fix listed
nyholm/psr7(Packagist) = 0.2.0 No fix listed
nyholm/psr7(Packagist) = 0.2.1 No fix listed
nyholm/psr7(Packagist) = 0.2.2 No fix listed
nyholm/psr7(Packagist) = 0.2.3 No fix listed
nyholm/psr7(Packagist) = 0.3.0 No fix listed
nyholm/psr7(Packagist) = 1.0.0 No fix listed
nyholm/psr7(Packagist) = 1.0.1 No fix listed
nyholm/psr7(Packagist) = 1.1.0 No fix listed
nyholm/psr7(Packagist) = 1.2.0 No fix listed
nyholm/psr7(Packagist) = 1.2.1 No fix listed
nyholm/psr7(Packagist) = 1.3.0 No fix listed
nyholm/psr7(Packagist) = 1.3.1 No fix listed
nyholm/psr7(Packagist) = 1.3.2 No fix listed
nyholm/psr7(Packagist) = 1.4.0 No fix listed
nyholm/psr7(Packagist) = 1.4.1 No fix listed
nyholm/psr7(Packagist) = 1.5.0 No fix listed
nyholm/psr7(Packagist) = 1.5.1 No fix listed
nyholm/psr7(Packagist) = 1.6.0 No fix listed

References