{"id":"CVE-2022-24775","published":"2022-03-21T19:00:17Z","modified":"2025-04-23T18:45:20Z","title":"Improper Input Validation in guzzlehttp/psr7","vendor":"guzzle","product":"psr7","tier":"tail","description":{"text":"guzzlehttp/psr7 is a PSR-7 HTTP message library. Versions prior to 1.8.4 and 2.1.1 are vulnerable to improper header parsing. An attacker could sneak in a new line character and pass untrusted values. The issue is patched in 1.8.4 and 2.1.1. There are currently no known workarounds.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0248,"percentile":0.84517,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/guzzle/psr7/pull/485/commits/e55afaa3fc138c89adf3b55a8ba20dc60d17f1f1","tags":["x_refsource_MISC"]},{"url":"https://github.com/guzzle/psr7/pull/486/commits/9a96d9db668b485361ed9de7b5bf1e54895df1dc","tags":["x_refsource_MISC"]},{"url":"https://www.drupal.org/sa-core-2022-006","tags":["x_refsource_CONFIRM"]}],"priority":{"score":22.2,"factors":[{"name":"EPSS percentile","points":16.9},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"guzzle","affectedVersions":[{"vendor":"guzzle","product":"psr7","versions":["< 1.8.4",">= 2.0.0, < 2.1.1"]}],"affected":[{"ecosystem":"Packagist","package":"guzzlehttp/psr7","vulnerableRanges":["<1.8.4",">=2.0.0, <2.1.1"],"patched":["1.8.4","2.1.1"],"from":["GHSA-q7rv-6hp3-vh96"],"provenance":"source"},{"ecosystem":"Packagist","package":"drupal/core","vulnerableRanges":[">=8.0.0, <9.2.16",">=9.3.0, <9.3.9"],"patched":["9.2.16","9.3.9"],"from":["DRUPAL-CORE-2022-006"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-1513","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-guzzle-psr7-cve-2022-24775","children":[{"from":"CVE-2022-24775","to":"CVE-2023-29197","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"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. This is a follow-up to CVE-2022-24775 where the fix was incomplete.","from":"CVE.org","in":"CVE-2023-29197"},{"kind":"osv-related","provenance":"source","id":"GHSA-q7rv-6hp3-vh96","via":"related"},{"kind":"osv-related","provenance":"source","id":"GHSA-wxmh-65f7-jcvw","via":"reference","url":"https://github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96"},{"kind":"version-step","provenance":"source","package":"Packagist:guzzlehttp/psr7","fromFixed":"1.8.4","toFixed":"1.9.1","daysApart":392},{"kind":"version-step","provenance":"source","package":"Packagist:guzzlehttp/psr7","fromFixed":"2.1.1","toFixed":"2.4.5","daysApart":392}]}],"packageHistory":[{"cve":"CVE-2022-25271","published":"2022-02-16","fixed":"9.3.6","kev":false},{"cve":"CVE-2022-24728","published":"2022-03-16","fixed":"9.3.8","kev":false,"link":{"from":"CVE-2022-24728","to":"CVE-2022-24775","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:drupal/core","fromFixed":"9.2.15","toFixed":"9.2.16","daysApart":5}]}},{"cve":"CVE-2022-24729","published":"2022-03-16","fixed":"9.3.8","kev":false},{"cve":"CVE-2022-24775","published":"2022-03-21","fixed":"9.3.9","kev":false},{"cve":"CVE-2022-25273","published":"2023-04-26","fixed":"9.3.12","kev":false,"link":{"from":"CVE-2022-24775","to":"CVE-2022-25273","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:drupal/core","fromFixed":"9.2.16","toFixed":"9.2.18","daysApart":401}]}},{"cve":"CVE-2022-25274","published":"2023-04-26","fixed":"9.3.12","kev":false,"link":{"from":"CVE-2022-24775","to":"CVE-2022-25274","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:drupal/core","fromFixed":"9.3.9","toFixed":"9.3.12","daysApart":401}]}},{"cve":"CVE-2022-29248","published":"2022-05-25","fixed":"9.3.14","kev":false}],"package":"Packagist:drupal/core"}}