cve.bz

CVE-2024-49767 palletsprojects: Uncontrolled Resource Consumption

6.9 mediumEPSS 1.1%Fix available

Medium (6.9) in palletsprojects. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in werkzeug 3.0.6.

On this page
Werkzeug is a Web Server Gateway Interface web application library. Applications using `werkzeug.formparser.MultiPartParser` corresponding to a version of Werkzeug prior to 3.0.6 to parse `multipart/form-data` requests (e.g. all flask applications) are vulnerable to a relatively simple but effective resource exhaustion (denial of service) attack. A specifically crafted form submission request can cause the parser to allocate and block 3 to 8 times the upload size in main memory. There is no upper limit; a single upload at 1 Gbit/s can exhaust 32 GB of RAM in less than 60 seconds. Werkzeug version 3.0.6 fixes this issue.

Severity

CVSS 4.0

6.9 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 66th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-10-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-49767 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-49767?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-49767?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-49767 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
palletsprojects:quartbefore 0.19.7
palletsprojects:werkzeugbefore 3.0.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-q34m-jh98-gwm2PyPIwerkzeug>=2.0.0rc1 <3.0.63.0.6
GHSA-q34m-jh98-gwm2PyPIquart<0.20.00.20.0
PYSEC-2026-1860PyPIquart<0.20.00.20.0
PYSEC-2026-3417PyPIwerkzeug>=2.0.0rc1 <3.0.63.0.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12python-werkzeug2.2.2-3+deb12u1DEBIAN-CVE-2024-49767
Debian12quartno fix listedDEBIAN-CVE-2024-49767
Debian13, 14python-werkzeug3.1.3-2DEBIAN-CVE-2024-49767
Debian13, 14quart0.19.9-1DEBIAN-CVE-2024-49767
Ubuntu22.04:LTSpython-werkzeug2.0.2+dfsg1-1ubuntu0.22.04.3UBUNTU-CVE-2024-49767 USN-7093-1
Ubuntu24.04:LTSpython-werkzeug3.0.1-3ubuntu0.2UBUNTU-CVE-2024-49767 USN-7093-1
Ubuntu24.04:LTS, 25.10, 26.10quartno fix listedUBUNTU-CVE-2024-49767
SUSELinux Enterprise Module for Python 3 15 SP5, Linux Enterprise Module for Python 3 15 SP6python-Werkzeug2.3.6-150400.6.12.1SUSE-SU-2024:3810-1
openSUSELeap 15.5, Leap 15.6python-Werkzeug2.3.6-150400.6.12.1SUSE-SU-2024:3810-1
openSUSETumbleweedpython-Werkzeug3.0.6-1.1openSUSE-SU-2024:14437-1
openSUSETumbleweedpython-Werkzeug3.1.9-1.1openSUSE-SU-2026:11943-1
Alpinev3.20, v3.21, v3.22 and 2 morepy3-werkzeug3.0.6-r0ALPINE-CVE-2024-49767
Azure Linux2python-werkzeug2.3.7-3AZL-51690
Azure Linux3python-werkzeug3.0.3-2AZL-51723
Alpaquita23py3-werkzeug2.2.2-r4BELL-CVE-2024-49767
Alpaquitastreampy3-werkzeug3.0.6-r0BELL-CVE-2024-49767

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

The Request.max_content_length setting and resource limits provided by deployment software and platforms are available to limit the resources used during a request. This vulnerability does not affect those settings. All three types of limits should be considered and set appropriately when deploying an application.

ProductPackageStateAdvisory
Red Hat OpenShift AI 2.16rhoai/odh-modelmesh-runtime-adapter-rhel8:v2.16.0-1732953768Fixed 2024-12-05RHSA-2024:10852
Red Hat OpenShift AI 2.17rhoai/odh-modelmesh-runtime-adapter-rhel8:v2.17.0-1739102748Fixed 2025-02-13RHSA-2025:1448
Red Hat Quay 3quay/quay-rhel8Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-49767.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON