{"id":"CVE-2023-49081","published":"2023-11-30T06:56:26Z","modified":"2026-06-23T17:19:11Z","title":"aiohttp's ClientSession is vulnerable to CRLF injection via version","vendor":"aio-libs","product":"aiohttp","tier":"tail","description":{"text":"aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Improper validation made it possible for an attacker to modify the HTTP request (e.g. to insert a new header) or create a new HTTP request if the attacker controls the HTTP version. The vulnerability only occurs if the attacker can control the HTTP version of the request. This issue has been patched in version 3.9.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00937,"percentile":0.5918,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/aio-libs/aiohttp/security/advisories/GHSA-q3qx-c6g2-7pw2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/aio-libs/aiohttp/pull/7835/files","tags":["x_refsource_MISC"]},{"url":"https://github.com/aio-libs/aiohttp/commit/1e86b777e61cf4eefc7d92fa57fa19dcc676013b","tags":["x_refsource_MISC"]},{"url":"https://gist.github.com/jnovikov/184afb593d9c2114d77f508e0ccd508e","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSYWMP64ZFCTC3VO6RY6EC6VSSMV6I3A/","tags":[]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":11.84},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"aio-libs","affectedVersions":[{"vendor":"aio-libs","product":"aiohttp","versions":["< 3.9.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2023-11-30T14:30:34.491239Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"aiohttp","vulnerableRanges":["<3.9.0"],"patched":["3.9.0"],"from":["GHSA-q3qx-c6g2-7pw2","PYSEC-2023-250"],"provenance":"source"}],"summary":{"text":"The aiohttp asynchronous HTTP client/server framework for Python has an improper input validation flaw in its ClientSession component that allows CRLF injection through the HTTP version field. An attacker who can control the HTTP version of a request can modify that request, such as inserting a new header, or create an entirely new HTTP request, and this only occurs when the attacker holds that control.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:55:04Z"},"euvd":{"id":"EUVD-2023-0006","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-aio-libs-aiohttp-cve-2023-49082","parents":[{"from":"CVE-2023-49082","to":"CVE-2023-49081","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["aiohttp/client_reqrep.py"],"commits":["https://github.com/aio-libs/aiohttp/commit/1e86b777e61cf4eefc7d92fa57fa19dcc676013b","https://github.com/aio-libs/aiohttp/commit/e4ae01c2077d2cfa116aa82e4ff6866857f7c466"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.7,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2023-47641","published":"2023-11-14","fixed":"3.8.0","kev":false},{"cve":"CVE-2023-37276","published":"2023-07-19","fixed":"3.8.5","kev":false},{"cve":"CVE-2023-47627","published":"2023-11-14","fixed":"3.8.6","kev":false,"link":{"from":"CVE-2023-47627","to":"CVE-2023-49081","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:aiohttp","fromFixed":"3.8.6","toFixed":"3.9.0","daysApart":16}]}},{"cve":"CVE-2023-49081","published":"2023-11-30","fixed":"3.9.0","kev":false},{"cve":"CVE-2023-49082","published":"2023-11-29","fixed":"3.9.0","kev":false},{"cve":"CVE-2024-23334","published":"2024-01-29","fixed":"3.9.2","kev":false,"link":{"from":"CVE-2023-49081","to":"CVE-2024-23334","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:aiohttp","fromFixed":"3.9.0","toFixed":"3.9.2","daysApart":60}]}},{"cve":"CVE-2024-23829","published":"2024-01-29","fixed":"3.9.2","kev":false,"link":{"from":"CVE-2023-49081","to":"CVE-2024-23829","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:aiohttp","fromFixed":"3.9.0","toFixed":"3.9.2","daysApart":60}]}}],"package":"PyPI:aiohttp"}}