{"answers":{"affected":"3 open source packages ship an affected version, including aiohttp. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-52304 in the wild and no public exploit code.","fix":"Upgrade aiohttp to 3.10.11 or later.","what":"CVE-2024-52304 is a medium-severity vulnerability in aio-libs aiohttp, published on 18 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-52304 and fix it if it is affected.\n\nWhat it is: CVE-2024-52304 is a medium-severity vulnerability in aio-libs aiohttp, published on 18 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-52304 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- aiohttp (PyPI): affected all versions; fixed in 3.10.11\n- aiohttp (PyPI): affected all versions; fixed in 3.10.11\n- aiohttp (PyPI): affected all versions; fixed in 3.10.11\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-2024-52304/ (Markdown: https://insights.sbomify.com/CVE-2024-52304/index.md)","id":"CVE-2024-52304","markdown":"https://insights.sbomify.com/CVE-2024-52304/index.md","name":"CVE-2024-52304","record":{"aliases":["AZL-53229","AZL-53232","CLEANSTART-2026-JK21858","CLEANSTART-2026-KP17501","CLSA-2025-1754007189","DEBIAN-CVE-2024-52304","ECHO-db0b-2011-4735","GHSA-8495-4g3g-x7pr","OESA-2025-1045","OESA-2025-1046","OESA-2025-1047","OESA-2025-1048","PYSEC-2026-1103","RHSA-2024:11574","ROOT-APP-PYPI-CVE-2024-52304","SUSE-SU-2024:4077-1","SUSE-SU-2024:4110-1","UBUNTU-CVE-2024-52304"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Python HTTP library","requires_auth":"none","summary":"Attackers can bypass firewalls or proxies via request smuggling in aiohttp when C extensions are disabled or not installed.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"aiohttp","vendor":"aiohttp"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"description":"aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.10.11, the Python parser parses newlines in chunk extensions incorrectly which can lead to request smuggling vulnerabilities under certain conditions. If a pure Python version of aiohttp is installed (i.e. without the usual C extensions) or `AIOHTTP_NO_EXTENSIONS` is enabled, then an attacker may be able to execute a request smuggling attack to bypass certain firewalls or proxy protections. Version 3.10.11 fixes the issue.","ecosystems":["PyPI","Red Hat:satellite:6.16::el8","Red Hat:satellite:6.16::el9","Red Hat:satellite_capsule:6.16::el8","Red Hat:satellite_capsule:6.16::el9","SUSE:Linux Enterprise Module for Public Cloud 15 SP2","SUSE:Linux Enterprise Module for Public Cloud 15 SP3","SUSE:Linux Enterprise Module for Public Cloud 15 SP4","SUSE:Linux Enterprise Module for Public Cloud 15 SP5","SUSE:Linux Enterprise Module for Public Cloud 15 SP6","SUSE:Linux Enterprise Module for Python 3 15 SP5","SUSE:Linux Enterprise Module for Python 3 15 SP6","openSUSE:Leap 15.5","openSUSE:Leap 15.6"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"aiohttp vulnerable to request smuggling due to incorrect parsing of chunk extensions","id":"CVE-2024-52304","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"other","year":"2024"},"n_packages":30,"n_references":2,"next":{"headline":"UnoPim Stored XSS : Cookie hijacking through Create User function","id":"CVE-2024-52305"},"packages":[{"ecosystem":"PyPI","fixed":["3.10.11"],"introduced":["0"],"last_affected":[],"package":"aiohttp","purl":null,"source":"GHSA-8495-4g3g-x7pr"},{"ecosystem":"PyPI","fixed":["3.10.11"],"introduced":["0"],"last_affected":[],"package":"aiohttp","purl":"pkg:pypi/aiohttp","source":"GHSA-8495-4g3g-x7pr"},{"ecosystem":"PyPI","fixed":["3.10.11"],"introduced":["0"],"last_affected":[],"package":"aiohttp","purl":"pkg:pypi/aiohttp","source":"PYSEC-2026-1103"},{"ecosystem":"Red Hat:satellite:6.16::el8","fixed":["0:3.10.11-1.el8pc"],"introduced":["0"],"last_affected":[],"package":"python-aiohttp","purl":"pkg:rpm/redhat/python-aiohttp","source":"RHSA-2024:11574"},{"ecosystem":"Red Hat:satellite:6.16::el8","fixed":["0:3.10.11-1.el8pc"],"introduced":["0"],"last_affected":[],"package":"python-aiohttp-debugsource","purl":"pkg:rpm/redhat/python-aiohttp-debugsource","source":"RHSA-2024:11574"},{"ecosystem":"Red Hat:satellite:6.16::el8","fixed":["0:3.10.11-1.el8pc"],"introduced":["0"],"last_affected":[],"package":"python3.11-aiohttp","purl":"pkg:rpm/redhat/python3.11-aiohttp","source":"RHSA-2024:11574"},{"ecosystem":"Red Hat:satellite:6.16::el8","fixed":["0:3.10.11-1.el8pc"],"introduced":["0"],"last_affected":[],"package":"python3.11-aiohttp-debuginfo","purl":"pkg:rpm/redhat/python3.11-aiohttp-debuginfo","source":"RHSA-2024:11574"},{"ecosystem":"Red Hat:satellite:6.16::el9","fixed":["0:3.10.11-1.el9pc"],"introduced":["0"],"last_affected":[],"package":"python-aiohttp","purl":"pkg:rpm/redhat/python-aiohttp","source":"RHSA-2024:11574"},{"ecosystem":"Red Hat:satellite:6.16::el9","fixed":["0:3.10.11-1.el9pc"],"introduced":["0"],"last_affected":[],"package":"python-aiohttp-debugsource","purl":"pkg:rpm/redhat/python-aiohttp-debugsource","source":"RHSA-2024:11574"},{"ecosystem":"Red Hat:satellite:6.16::el9","fixed":["0:3.10.11-1.el9pc"],"introduced":["0"],"last_affected":[],"package":"python3.11-aiohttp","purl":"pkg:rpm/redhat/python3.11-aiohttp","source":"RHSA-2024:11574"},{"ecosystem":"Red Hat:satellite:6.16::el9","fixed":["0:3.10.11-1.el9pc"],"introduced":["0"],"last_affected":[],"package":"python3.11-aiohttp-debuginfo","purl":"pkg:rpm/redhat/python3.11-aiohttp-debuginfo","source":"RHSA-2024:11574"},{"ecosystem":"Red Hat:satellite_capsule:6.16::el8","fixed":["0:3.10.11-1.el8pc"],"introduced":["0"],"last_affected":[],"package":"python-aiohttp","purl":"pkg:rpm/redhat/python-aiohttp","source":"RHSA-2024:11574"},{"ecosystem":"Red Hat:satellite_capsule:6.16::el8","fixed":["0:3.10.11-1.el8pc"],"introduced":["0"],"last_affected":[],"package":"python-aiohttp-debugsource","purl":"pkg:rpm/redhat/python-aiohttp-debugsource","source":"RHSA-2024:11574"},{"ecosystem":"Red Hat:satellite_capsule:6.16::el8","fixed":["0:3.10.11-1.el8pc"],"introduced":["0"],"last_affected":[],"package":"python3.11-aiohttp","purl":"pkg:rpm/redhat/python3.11-aiohttp","source":"RHSA-2024:11574"},{"ecosystem":"Red Hat:satellite_capsule:6.16::el8","fixed":["0:3.10.11-1.el8pc"],"introduced":["0"],"last_affected":[],"package":"python3.11-aiohttp-debuginfo","purl":"pkg:rpm/redhat/python3.11-aiohttp-debuginfo","source":"RHSA-2024:11574"},{"ecosystem":"Red Hat:satellite_capsule:6.16::el9","fixed":["0:3.10.11-1.el9pc"],"introduced":["0"],"last_affected":[],"package":"python-aiohttp","purl":"pkg:rpm/redhat/python-aiohttp","source":"RHSA-2024:11574"},{"ecosystem":"Red Hat:satellite_capsule:6.16::el9","fixed":["0:3.10.11-1.el9pc"],"introduced":["0"],"last_affected":[],"package":"python-aiohttp-debugsource","purl":"pkg:rpm/redhat/python-aiohttp-debugsource","source":"RHSA-2024:11574"},{"ecosystem":"Red Hat:satellite_capsule:6.16::el9","fixed":["0:3.10.11-1.el9pc"],"introduced":["0"],"last_affected":[],"package":"python3.11-aiohttp","purl":"pkg:rpm/redhat/python3.11-aiohttp","source":"RHSA-2024:11574"},{"ecosystem":"Red Hat:satellite_capsule:6.16::el9","fixed":["0:3.10.11-1.el9pc"],"introduced":["0"],"last_affected":[],"package":"python3.11-aiohttp-debuginfo","purl":"pkg:rpm/redhat/python3.11-aiohttp-debuginfo","source":"RHSA-2024:11574"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP2","fixed":["3.6.0-150100.3.18.1"],"introduced":["0"],"last_affected":[],"package":"python-aiohttp","purl":"pkg:rpm/suse/python-aiohttp\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP2","source":"SUSE-SU-2024:4110-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP3","fixed":["3.6.0-150100.3.18.1"],"introduced":["0"],"last_affected":[],"package":"python-aiohttp","purl":"pkg:rpm/suse/python-aiohttp\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP3","source":"SUSE-SU-2024:4110-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP4","fixed":["3.6.0-150100.3.18.1"],"introduced":["0"],"last_affected":[],"package":"python-aiohttp","purl":"pkg:rpm/suse/python-aiohttp\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP4","source":"SUSE-SU-2024:4110-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP4","fixed":["3.9.3-150400.10.27.1"],"introduced":["0"],"last_affected":[],"package":"python-aiohttp","purl":"pkg:rpm/suse/python-aiohttp\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP4","source":"SUSE-SU-2024:4077-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP5","fixed":["3.6.0-150100.3.18.1"],"introduced":["0"],"last_affected":[],"package":"python-aiohttp","purl":"pkg:rpm/suse/python-aiohttp\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP5","source":"SUSE-SU-2024:4110-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP6","fixed":["3.6.0-150100.3.18.1"],"introduced":["0"],"last_affected":[],"package":"python-aiohttp","purl":"pkg:rpm/suse/python-aiohttp\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP6","source":"SUSE-SU-2024:4110-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP5","fixed":["3.9.3-150400.10.27.1"],"introduced":["0"],"last_affected":[],"package":"python-aiohttp","purl":"pkg:rpm/suse/python-aiohttp\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP5","source":"SUSE-SU-2024:4077-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP6","fixed":["3.9.3-150400.10.27.1"],"introduced":["0"],"last_affected":[],"package":"python-aiohttp","purl":"pkg:rpm/suse/python-aiohttp\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP6","source":"SUSE-SU-2024:4077-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["3.6.0-150100.3.18.1"],"introduced":["0"],"last_affected":[],"package":"python-aiohttp","purl":"pkg:rpm/opensuse/python-aiohttp\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:4110-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["3.9.3-150400.10.27.1"],"introduced":["0"],"last_affected":[],"package":"python-aiohttp","purl":"pkg:rpm/opensuse/python-aiohttp\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2024:4077-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["3.9.3-150400.10.27.1"],"introduced":["0"],"last_affected":[],"package":"python-aiohttp","purl":"pkg:rpm/opensuse/python-aiohttp\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2024:4077-1"}],"prev":{"headline":"aiohttp memory leak when middleware is enabled when requesting a resource with a non-allowed method","id":"CVE-2024-52303"},"products":["aiohttp"],"published":"2024-11-18","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":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["aio-libs"]},"summary":"Attackers can bypass firewalls or proxies via request smuggling in aiohttp when C extensions are disabled or not installed.","url":"https://insights.sbomify.com/CVE-2024-52304/"}