PT-2024-33677 · Werkzeug+7 · Werkzeug+7

·

CVE-2024-49767

·

Published

2024-10-25

·

Updated

2026-09-10

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions: Werkzeug versions prior to 3.0.6
Description: Applications using werkzeug.formparser.MultiPartParser to parse multipart/form-data requests are vulnerable to a relatively simple but effective resource exhaustion 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.
Recommendations: For versions prior to 3.0.6, update to Werkzeug version 3.0.6 to fix the issue. As a temporary workaround, consider setting the Request.max form memory size to limit the resources used during a request. Additionally, consider setting the Request.max content length and resource limits provided by deployment software and platforms to limit the resources used during a request.

Exploit

Fix

DoS

Resource Exhaustion

Allocation of Resources Without Limits

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2024-15281
ALT-PU-2025-2662
AZL-51690
AZL-51723
BDU:2025-06972
CLEANSTART-2026-AZ09261
CLEANSTART-2026-HP19968
CLEANSTART-2026-IR98353
CLEANSTART-2026-MR94452
CLEANSTART-2026-NL78203
CLEANSTART-2026-WQ85001
CLEANSTART-2026-WU03167
CVE-2024-49767
ECHO-FDD1-B611-BD89
GHSA-Q34M-JH98-GWM2
MGASA-2024-0351
OESA-2025-1424
OESA-2025-1425
OESA-2025-1426
OPENSUSE-SU-2024:14437-1
OPENSUSE-SU-2024_3810-1
PYSEC-2026-1860
PYSEC-2026-3417
SUSE-SU-2024:3810-1
USN-7093-1

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Red Os
Suse
Ubuntu
Werkzeug