{"schemaVersion":3,"id":"CVE-2023-29197","aliases":["UBUNTU-CVE-2023-29197","USN-6671-1","DEBIAN-CVE-2023-29197","DLA-3705-1"],"status":"published","duplicateOf":null,"title":null,"description":"guzzlehttp/psr7 is a PSR-7 HTTP message library implementation in PHP. Affected versions are subject to 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. This is a follow-up to CVE-2022-24775 where the fix was incomplete. The issue has been patched in versions 1.9.1 and 2.4.5. There are no known workarounds for this vulnerability. Users are advised to upgrade.","dates":{"published":"2023-04-17T21:08:46.675Z","modified":"2025-02-13T16:49:01.562Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"wordfence","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01216,"percentile":0.68166,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01216},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01216,"percentile":0.68166}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01216,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01216,"percentile":0.68166}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-436","name":"Interpretation Conflict","description":"Product A handles inputs or steps differently than Product B, which causes A to perform incorrect actions based on its perception of B's state.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/436.html"}],"affected":[{"vendor":"debian","product":"php-guzzlehttp-psr7","name":"php-guzzlehttp-psr7","label":"php-guzzlehttp-psr7","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/php-guzzlehttp-psr7","purlType":"deb","versions":[{"text":"< 2.4.5-1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.4.2-0.1+deb10u2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.4.5-1 | < 1.4.2-0.1+deb10u2","eol":null,"hubHref":null},{"vendor":"debian","product":"php-nyholm-psr7","name":"php-nyholm-psr7","label":"php-nyholm-psr7","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/php-nyholm-psr7","purlType":"deb","versions":[{"text":"< 1.5.1-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.5.1-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php-guzzlehttp-psr7","name":"php-guzzlehttp-psr7","label":"php-guzzlehttp-psr7","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php-guzzlehttp-psr7","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1.4.2-0.1+deb10u2build0.20.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.8.3-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1.4.2-0.1+deb10u2build0.20.04.1 | < 1.8.3-1ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php-nyholm-psr7","name":"php-nyholm-psr7","label":"php-nyholm-psr7","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php-nyholm-psr7","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1.5.0-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1.5.0-1ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"37","noFixRecorded":false,"fixedIn":null},{"text":"38","noFixRecorded":false,"fixedIn":null}],"versionsText":"37 | 38","eol":{"isEol":true,"eolDate":"2023-12-05T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"37","label":"37","eolFrom":"2023-12-05T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"guzzle","product":"psr7","name":"psr7","label":"psr7","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.9.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.4.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.1 | ≥ 2.0.0, < 2.4.5","eol":null,"hubHref":"/vendor/guzzle/psr7"},{"vendor":"guzzlephp","product":"psr-7","name":"psr-7","label":"psr-7","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.9.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.4.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.9.1 | ≥ 2.0.0, < 2.4.5","eol":null,"hubHref":"/vendor/guzzlephp/psr-7"},{"vendor":"wordpress","product":"amazon-s3-and-cloudfront","name":"WP Offload Media Lite for Amazon S3, DigitalOcean Spaces, and Google Cloud Storage","label":"amazon-s3-and-cloudfront","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.2.2","noFixRecorded":false,"fixedIn":"3.2.2"}],"versionsText":"< 3.2.2","eol":null,"hubHref":null},{"vendor":"wordpress","product":"wp-ses","name":"WP Offload SES Lite","label":"wp-ses","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.6.4","noFixRecorded":false,"fixedIn":"1.6.4"}],"versionsText":"< 1.6.4","eol":null,"hubHref":null}],"affectedCount":9,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/guzzle/psr7/security/advisories/GHSA-wxmh-65f7-jcvw","label":"github.com/guzzle/psr7/security/advisories/GHSA-wxmh-65f7-jcvw","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Vendor Advisory"]},{"url":"https://github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96","label":"github.com/guzzle/psr7/security/advisories/GHSA-q7rv-6hp3-vh96","hostname":"github.com","tags":["X Refsource MISC","REPORT","Not Applicable"]},{"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=2022-24775","label":"cve.mitre.org/cgi-bin/cvename.cgi?name=2022-24775","hostname":"cve.mitre.org","tags":["X Refsource MISC","REPORT","Not Applicable"]},{"url":"https://www.rfc-editor.org/rfc/rfc7230#section-3.2.4","label":"www.rfc-editor.org/rfc/rfc7230","hostname":"www.rfc-editor.org","tags":["X Refsource MISC","REPORT","Technical Description"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O35UN4IK6VS2LXSRWUDFWY7NI73RKY2U/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FJANWDXJZE5BGLN4MQ4FEHV5LJ6CMKQF/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00028.html","label":"lists.debian.org/debian-lts-announce/2023/12/msg00028.html","hostname":"lists.debian.org","tags":[]},{"url":"https://ubuntu.com/security/CVE-2023-29197","label":"ubuntu.com/security/CVE-2023-29197","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/guzzle/psr7/commit/0454e12ef0cd597ccd2adb036f7bda4e7fface66","label":"github.com/guzzle/psr7/commit/0454e12ef0cd597ccd2adb036f7bda4e7fface66","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/Nyholm/psr7/security/advisories/GHSA-wjfc-pgfp-pv9c","label":"github.com/Nyholm/psr7/security/advisories/GHSA-wjfc-pgfp-pv9c","hostname":"github.com","tags":["REPORT"]},{"url":"https://github.com/Nyholm/psr7/commit/1029a2671cbdd3e075a21952082c2be7c8018426","label":"github.com/Nyholm/psr7/commit/1029a2671cbdd3e075a21952082c2be7c8018426","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6670-1","label":"ubuntu.com/security/notices/USN-6670-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-6671-1","label":"ubuntu.com/security/notices/USN-6671-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-29197","label":"www.cve.org/CVERecord?id=CVE-2023-29197","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-29197","label":"security-tracker.debian.org/tracker/CVE-2023-29197","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/2638bb80-7066-45c0-ab74-4ba407d50cae","label":"www.wordfence.com/threat-intel/vulnerabilities/id/2638bb80-7066-45c0-ab74-4ba407d50cae","hostname":"www.wordfence.com","tags":["Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2023-0241","USN-6670-1"],"duplicates":[],"related":["USN-6670-1"]},"timeline":[{"kind":"published","date":"2023-04-17T21:08:46.675Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-13T16:49:01.562Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:15:09.543Z","stale":false,"partial":false}}