{"id":"GHSA-9jxr-mwpp-w643","aliases":["GHSA-9jxr-mwpp-w643"],"related":[],"kind":"vulnerability","state":"published","title":"Improper header validation in httpsoft/http-message","summary":"### Impact\n\nImproper 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`.\n\n### Patches\n\nThe issue is patched in 1.0.12.\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","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Impact\n\nImproper 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`.\n\n### Patches\n\nThe issue is patched in 1.0.12.\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","format":"markdown","source":"ghsa"}],"published":"2023-04-21T20:27:12.000Z","modified":"2024-12-06T05:39:27.356Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-436"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.0.12"}],"ecosystem":"Packagist","package":"httpsoft/http-message","purl":"pkg:composer/httpsoft/http-message","source":"ghsa"}],"references":[{"url":"https://github.com/guzzle/psr7/security/advisories/GHSA-wxmh-65f7-jcvw","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/httpsoft/http-message/security/advisories/GHSA-9jxr-mwpp-w643","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-29197","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/httpsoft/http-message","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9jxr-mwpp-w643","url":"https://github.com/advisories/GHSA-9jxr-mwpp-w643","licence":"CC-BY-4.0","modified":"2024-12-06T05:39:27.356Z"}],"updatedAt":"2026-11-25T22:56:31.768Z"}