Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 1.1%top 39%

CVE-2024-49767: CWE-400: Uncontrolled Resource Consumption in pallets werkzeug

0
Medium
VulnerabilityCVE-2024-49767cvecve-2024-49767cwe-400cwe-770
Published: 10/25/2024 (10/25/2024, 19:41:35 UTC)
Source: CVE Database V5
Vendor/Project: pallets
Product: werkzeug

Description

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.

CVSS v4.0

Score 6.9medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

werkzeug
pkg:pypi/werkzeug
Affected versions
<3.0.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/20/2026, 23:03:30 UTC

Technical Analysis

Werkzeug is a WSGI web application library used by many Python web frameworks such as Flask. Versions prior to 3.0.6 that use the MultiPartParser to handle multipart/form-data requests are vulnerable to a resource exhaustion attack. Specifically, a crafted multipart form submission can cause the parser to allocate significantly more memory than the actual upload size, with no upper limit on memory usage. This can result in denial of service by consuming excessive RAM, impacting server availability. The vulnerability is tracked as CWE-400 (Uncontrolled Resource Consumption) and CWE-770 (Allocation of Resources Without Limits or Throttling). The fix is included in Werkzeug 3.0.6.

Potential Impact

The vulnerability allows remote attackers to cause denial of service by exhausting server memory resources through crafted multipart/form-data requests. This can degrade or crash affected web applications relying on vulnerable Werkzeug versions, impacting availability. There is no indication of privilege escalation, data disclosure, or code execution. No known exploits in the wild have been reported at this time.

Mitigation Recommendations

Upgrade to Werkzeug version 3.0.6 or later, where this resource exhaustion vulnerability is fixed. Since no official patch links or advisories are provided in the data, verify the upgrade path through the official Pallets Werkzeug project. Until upgraded, consider implementing request size limits or rate limiting on multipart/form-data uploads to reduce risk. Patch status is not explicitly confirmed in the vendor advisory content provided; check the official vendor advisory for the latest remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2024-10-18T13:43:23.457Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a0e3a4dba1db47362b6de42

Added to database: 05/20/2026, 22:48:45 UTC

Last enriched: 05/20/2026, 23:03:30 UTC

Last updated: 07/04/2026, 20:51:17 UTC

Views: 74

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses