GitHub Advisoryadvisory · Packagist

GHSA-q7rv-6hp3-vh96 Improper Input Validation in guzzlehttp/psr7

MEDIUM Published 2022-03-25 Modified 2023-04-13 Official page ↗
Aliases
CVE-2022-24775
Ecosystem
Packagist
Packages
guzzlehttp/psr7
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weaknesses
CWE-20
Reviewed
2022-03-25

Affected packages

• Packagist guzzlehttp/psr7: < 1.8.4 → fixed in 1.8.4 • Packagist guzzlehttp/psr7: >= 2.0.0, < 2.1.1 → fixed in 2.1.1

Description

Impact Improper header parsing. An attacker could sneak in a carriage return character (`\r`) and pass untrusted values in both the header names and values. Patches The issue is patched in 1.8.4 and 2.1.1. Workarounds There are no known workarounds. References • https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4

Related

Alias · CVE (1)

  • CVE-2022-24775 guzzlehttp/psr7 is a PSR-7 HTTP message library. vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References