{"id":"GHSA-q7rv-6hp3-vh96","summary":"Improper Input Validation in guzzlehttp/psr7","details":"### Impact\n\nImproper header parsing. An attacker could sneak in a carriage return character (`\\r`) and pass untrusted values in both the header names and values.\n\n### Patches\n\nThe issue is patched in 1.8.4 and 2.1.1.\n\n### Workarounds\n\nThere are no known workarounds.\n\n### References\n\n* https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4\n","aliases":["BIT-drupal-2022-24775","CVE-2022-24775","DRUPAL-CORE-2022-006"],"modified":"2026-01-30T01:31:27.333338Z","published":"2022-03-25T19:26:33Z","related":["CVE-2023-29197"],"database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-03-25T19:26:33Z","nvd_published_at":"2022-03-21T19:15:00Z","cwe_ids":["CWE-20"]},"references":[{"type":"WEB","url":"https://github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24775"},{"type":"WEB","url":"https://github.com/guzzle/psr7/pull/485/commits/e55afaa3fc138c89adf3b55a8ba20dc60d17f1f1"},{"type":"WEB","url":"https://github.com/guzzle/psr7/pull/486/commits/9a96d9db668b485361ed9de7b5bf1e54895df1dc"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/guzzlehttp/psr7/CVE-2022-24775.yaml"},{"type":"PACKAGE","url":"https://github.com/guzzle/psr7"},{"type":"WEB","url":"https://www.drupal.org/sa-core-2022-006"},{"type":"WEB","url":"https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4"}],"affected":[{"package":{"name":"guzzlehttp/psr7","ecosystem":"Packagist","purl":"pkg:composer/guzzlehttp/psr7"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.4"}]}],"versions":["1.0.0","1.1.0","1.2.0","1.2.1","1.2.2","1.2.3","1.3.0","1.3.1","1.4.0","1.4.1","1.4.2","1.5.0","1.5.1","1.5.2","1.6.0","1.6.1","1.7.0","1.8.0","1.8.1","1.8.2","1.8.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-q7rv-6hp3-vh96/GHSA-q7rv-6hp3-vh96.json"}},{"package":{"name":"guzzlehttp/psr7","ecosystem":"Packagist","purl":"pkg:composer/guzzlehttp/psr7"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.1.1"}]}],"versions":["2.0.0","2.1.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/03/GHSA-q7rv-6hp3-vh96/GHSA-q7rv-6hp3-vh96.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}