Security mailing lists by PureSourceCode

GHSA-wjfc-pgfp-pv9c

MEDIUM 5.3CVSS 3.1

Improper Input Validation in nyholm/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.6.1.

Workarounds

There are no known workarounds.

References
Published
21 Apr 2023
Last modified
29 Nov 2024
Weakness
CWE-436
Sources
OSVJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Packagist nyholm/psr7 < 1.6.1 1.6.1

References

History

  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 21 Apr 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.