{"answers":{"affected":"5 open source packages ship an affected version, including werkzeug and Werkzeug. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-46136 in the wild and no public exploit code.","fix":"Upgrade werkzeug to a fixed version for your release line: 2.3.8 or 3.0.1.","what":"CVE-2023-46136 is a high-severity denial of service vulnerability in pallets werkzeug, published on 24 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-46136 and fix it if it is affected.\n\nWhat it is: CVE-2023-46136 is a high-severity denial of service vulnerability in pallets werkzeug, published on 24 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-46136 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- werkzeug (PyPI): affected all versions; fixed in 2.3.8, 3.0.1\n- werkzeug (PyPI): affected from 2.0.0rc1; fixed in 2.3.8\n- werkzeug (PyPI): affected from 3.0.0; fixed in 3.0.1\n- Werkzeug (PyPI): affected from 2.0.0rc1; fixed in 2.3.8\n- Werkzeug (PyPI): affected from 3.0.0; fixed in 3.0.1\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-46136/ (Markdown: https://insights.sbomify.com/CVE-2023-46136/index.md)","id":"CVE-2023-46136","markdown":"https://insights.sbomify.com/CVE-2023-46136/index.md","name":"CVE-2023-46136","record":{"aliases":["ALPINE-CVE-2023-46136","AZL-31701","AZL-35141","CLEANSTART-2026-PT44731","CLEANSTART-2026-TF19359","CLSA-2026-1773360968","CLSA-2026-1773360969","DEBIAN-CVE-2023-46136","ECHO-b9b6-c39c-7946","GHSA-hrfv-mqp8-q5rw","MINI-66xx-vx53-hxwv","MINI-6mcg-6ffr-jqmp","OESA-2025-1996","OESA-2025-1999","OESA-2025-2000","PYSEC-2023-221","RHSA-2023:7477","RHSA-2024:0189","RHSA-2024:0214","ROOT-APP-PYPI-CVE-2023-46136","SUSE-SU-2023:4288-1","openSUSE-SU-2024:13375-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python web library","requires_auth":"low_privilege","summary":"Attackers can cause denial of service in applications using Werkzeug by sending crafted multipart data that consumes excessive CPU resources.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"werkzeug","vendor":"palletsprojects"}],"cvss":{"score":8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"Werkzeug is a comprehensive WSGI web application library. In versions on the 3.x branch prior to 3.0.1 and on the 2.x branch prior to 2.3.8, if an upload of a file that starts with CR or LF and then is followed by megabytes of data without these characters: all of these bytes are appended chunk by chunk into internal bytearray and lookup for boundary is performed on growing buffer. This allows an attacker to cause a denial of service by sending crafted multipart data to an endpoint that will parse it. The amount of CPU time required can block worker processes from handling legitimate requests. This vulnerability has been patched in version 3.0.1 and 2.3.8.","ecosystems":["PyPI","Red Hat:openshift_ironic:4.13::el9","Red Hat:openstack:17.1::el8","Red Hat:openstack:17.1::el9","SUSE:Linux Enterprise Module for Python 3 15 SP4","SUSE:Linux Enterprise Module for Python 3 15 SP5","openSUSE:Leap 15.4","openSUSE:Leap 15.5","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2025-11-29","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-11-29T21:50:41Z","kind":"github_poc","ref":"https://github.com/JawadPy/WerkGhost","stars":0,"title":"Exploit for Werkzeug \u003c 3.1.4 (CVE-2023-46136)"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Werkzeug DoS: High resource usage when parsing multipart/form-data containing a large part with CR/LF character at the beginning","id":"CVE-2023-46136","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":16,"n_references":2,"next":{"headline":"twisted.web has disordered HTTP pipeline response","id":"CVE-2023-46137"},"packages":[{"ecosystem":"PyPI","fixed":["2.3.8"],"introduced":["2.0.0rc1"],"last_affected":[],"package":"Werkzeug","purl":null,"source":"GHSA-hrfv-mqp8-q5rw"},{"ecosystem":"PyPI","fixed":["3.0.1"],"introduced":["3.0.0"],"last_affected":[],"package":"Werkzeug","purl":null,"source":"GHSA-hrfv-mqp8-q5rw"},{"ecosystem":"PyPI","fixed":["2.3.8","3.0.1"],"introduced":["0","3.0.0"],"last_affected":[],"package":"werkzeug","purl":"pkg:pypi/werkzeug","source":"PYSEC-2023-221"},{"ecosystem":"PyPI","fixed":["2.3.8"],"introduced":["2.0.0rc1"],"last_affected":[],"package":"werkzeug","purl":"pkg:pypi/werkzeug","source":"GHSA-hrfv-mqp8-q5rw"},{"ecosystem":"PyPI","fixed":["3.0.1"],"introduced":["3.0.0"],"last_affected":[],"package":"werkzeug","purl":"pkg:pypi/werkzeug","source":"GHSA-hrfv-mqp8-q5rw"},{"ecosystem":"Red Hat:openshift_ironic:4.13::el9","fixed":["0:2.0.3-5.el9"],"introduced":["0"],"last_affected":[],"package":"python-werkzeug","purl":"pkg:rpm/redhat/python-werkzeug","source":"RHSA-2023:7477"},{"ecosystem":"Red Hat:openshift_ironic:4.13::el9","fixed":["0:2.0.3-5.el9"],"introduced":["0"],"last_affected":[],"package":"python3-werkzeug","purl":"pkg:rpm/redhat/python3-werkzeug","source":"RHSA-2023:7477"},{"ecosystem":"Red Hat:openstack:17.1::el8","fixed":["0:2.0.1-8.el8ost"],"introduced":["0"],"last_affected":[],"package":"python-werkzeug","purl":"pkg:rpm/redhat/python-werkzeug","source":"RHSA-2024:0189"},{"ecosystem":"Red Hat:openstack:17.1::el8","fixed":["0:2.0.1-8.el8ost"],"introduced":["0"],"last_affected":[],"package":"python3-werkzeug","purl":"pkg:rpm/redhat/python3-werkzeug","source":"RHSA-2024:0189"},{"ecosystem":"Red Hat:openstack:17.1::el9","fixed":["0:2.0.1-6.el9ost"],"introduced":["0"],"last_affected":[],"package":"python-werkzeug","purl":"pkg:rpm/redhat/python-werkzeug","source":"RHSA-2024:0214"},{"ecosystem":"Red Hat:openstack:17.1::el9","fixed":["0:2.0.1-6.el9ost"],"introduced":["0"],"last_affected":[],"package":"python3-werkzeug","purl":"pkg:rpm/redhat/python3-werkzeug","source":"RHSA-2024:0214"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP4","fixed":["2.3.6-150400.6.6.1"],"introduced":["0"],"last_affected":[],"package":"python-Werkzeug","purl":"pkg:rpm/suse/python-Werkzeug\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP4","source":"SUSE-SU-2023:4288-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP5","fixed":["2.3.6-150400.6.6.1"],"introduced":["0"],"last_affected":[],"package":"python-Werkzeug","purl":"pkg:rpm/suse/python-Werkzeug\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP5","source":"SUSE-SU-2023:4288-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["2.3.6-150400.6.6.1"],"introduced":["0"],"last_affected":[],"package":"python-Werkzeug","purl":"pkg:rpm/opensuse/python-Werkzeug\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:4288-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["2.3.6-150400.6.6.1"],"introduced":["0"],"last_affected":[],"package":"python-Werkzeug","purl":"pkg:rpm/opensuse/python-Werkzeug\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2023:4288-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.0.1-1.1"],"introduced":["0"],"last_affected":[],"package":"python-Werkzeug","purl":"pkg:rpm/opensuse/python-Werkzeug\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13375-1"}],"prev":{"headline":"Panic in SignedPayload::from_payload","id":"CVE-2023-46135"},"products":["werkzeug"],"published":"2023-10-24","related":[{"cvss_score":9.8,"headline":"Other in n/a","id":"CVE-2022-29361","kev_date_added":null,"published":"2022-05-24"},{"cvss_score":7.5,"headline":"Werkzeug may allow high resource usage when parsing multipart form data with many fields","id":"CVE-2023-25577","kev_date_added":null,"published":"2023-02-14"},{"cvss_score":7.5,"headline":"Pallets Werkzeug vulnerable to Path Traversal","id":"CVE-2019-14322","kev_date_added":null,"published":"2019-07-28"},{"cvss_score":6.3,"headline":"Werkzeug safe_join() allows Windows special device names","id":"CVE-2026-27199","kev_date_added":null,"published":"2026-02-21"},{"cvss_score":6.3,"headline":"Werkzeug safe_join() allows Windows special device names with compound extensions","id":"CVE-2026-21860","kev_date_added":null,"published":"2026-01-08"},{"cvss_score":6.3,"headline":"Werkzeug safe_join() allows Windows special device names","id":"CVE-2025-66221","kev_date_added":null,"published":"2025-11-29"}],"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":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-05-20","vendors":["pallets"]},"summary":"Attackers can cause denial of service in applications using Werkzeug by sending crafted multipart data that consumes excessive CPU resources.","url":"https://insights.sbomify.com/CVE-2023-46136/"}