{"answers":{"affected":"3 open source packages ship an affected version, including aiohttp. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-37276 exists.","fix":"Upgrade aiohttp to 3.8.5 or later.","what":"CVE-2023-37276 is a medium-severity vulnerability in aio-libs aiohttp, published on 19 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-37276 and fix it if it is affected.\n\nWhat it is: CVE-2023-37276 is a medium-severity vulnerability in aio-libs aiohttp, published on 19 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-37276 exists.\n\nAffected packages and fixed versions:\n- aiohttp (PyPI): affected all versions; fixed in 3.8.5\n- aiohttp (PyPI): affected all versions; fixed in 3.8.5\n- aiohttp (PyPI): affected all versions; fixed in 3.8.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-37276/ (Markdown: https://insights.sbomify.com/CVE-2023-37276/index.md)","id":"CVE-2023-37276","markdown":"https://insights.sbomify.com/CVE-2023-37276/index.md","name":"CVE-2023-37276","record":{"aliases":["CLSA-2025-1754007187","DEBIAN-CVE-2023-37276","GHSA-45c4-8wx5-qw6w","PYSEC-2023-120","UBUNTU-CVE-2023-37276"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Python HTTP library","requires_auth":"none","summary":"Attackers can smuggle HTTP requests in aiohttp servers, potentially bypassing security controls or accessing unauthorized data.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"aiohttp","vendor":"aiohttp"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"description":"aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. aiohttp v3.8.4 and earlier are bundled with llhttp v6.0.6. Vulnerable code is used by aiohttp for its HTTP request parser when available which is the default case when installing from a wheel. This vulnerability only affects users of aiohttp as an HTTP server (ie `aiohttp.Application`), you are not affected by this vulnerability if you are using aiohttp as an HTTP client library (ie `aiohttp.ClientSession`). Sending a crafted HTTP request will cause the server to misinterpret one of the HTTP header values leading to HTTP request smuggling. This issue has been addressed in version 3.8.5. Users are advised to upgrade. Users unable to upgrade can reinstall aiohttp using `AIOHTTP_NO_EXTENSIONS=1` as an environment variable to disable the llhttp HTTP request parser implementation. The pure Python implementation isn't vulnerable.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"aiohttp vulnerable to HTTP request smuggling","id":"CVE-2023-37276","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"other","year":"2023"},"n_packages":3,"n_references":4,"next":{"headline":"XWiki Platform vulnerable to cross-site request forgery (CSRF) via the REST API","id":"CVE-2023-37277"},"packages":[{"ecosystem":"PyPI","fixed":["3.8.5"],"introduced":["0"],"last_affected":[],"package":"aiohttp","purl":null,"source":"GHSA-45c4-8wx5-qw6w"},{"ecosystem":"PyPI","fixed":["3.8.5"],"introduced":["0"],"last_affected":[],"package":"aiohttp","purl":"pkg:pypi/aiohttp","source":"GHSA-45c4-8wx5-qw6w"},{"ecosystem":"PyPI","fixed":["3.8.5"],"introduced":["0"],"last_affected":[],"package":"aiohttp","purl":"pkg:pypi/aiohttp","source":"PYSEC-2023-120"}],"prev":{"headline":"System logs spoofable in Auto-GPT via ANSI control sequences","id":"CVE-2023-37275"},"products":["aiohttp"],"published":"2023-07-19","related":[{"cvss_score":8.7,"headline":"aiohttp memory leak when middleware is enabled when requesting a resource with a non-allowed method","id":"CVE-2024-52303","kev_date_added":null,"published":"2024-11-18"},{"cvss_score":7.5,"headline":"AIOHTTP's HTTP Parser auto_decompress feature is vulnerable to zip bomb","id":"CVE-2025-69223","kev_date_added":null,"published":"2026-01-05"},{"cvss_score":7.5,"headline":"Denial of service when trying to parse malformed POST requests in aiohttp","id":"CVE-2024-30251","kev_date_added":null,"published":"2024-05-02"},{"cvss_score":7.2,"headline":"aiohttp's ClientSession is vulnerable to CRLF injection via version","id":"CVE-2023-49081","kev_date_added":null,"published":"2023-11-30"},{"cvss_score":6.9,"headline":"AIOHTTP: Uncapped memory usage possible through aiohttp allowing unlimited trailer headers","id":"CVE-2026-22815","kev_date_added":null,"published":"2026-04-01"},{"cvss_score":6.6,"headline":"AIOHTTP: HTTP/1 Pipelined Requests Queue Without Limit","id":"CVE-2026-54273","kev_date_added":null,"published":"2026-06-22"},{"cvss_score":6.6,"headline":"AIOHTTP: Incomplete websocket frame payloads bypass memory limits","id":"CVE-2026-54274","kev_date_added":null,"published":"2026-06-22"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-10-18","vendors":["aio-libs"]},"summary":"Attackers can smuggle HTTP requests in aiohttp servers, potentially bypassing security controls or accessing unauthorized data.","url":"https://insights.sbomify.com/CVE-2023-37276/"}