NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2024-49767: Werkzeug possible resource exhaustion when parsing file data in forms

mediumCVSS 4.0 6.9 · 3.1 7.5GHSA-q34m-jh98-gwm2

Applications using Werkzeug to parse multipart/form-data requests are vulnerable to resource exhaustion. A specially crafted form body can bypass the Request.maxformmemorysize setting. The Request.maxcontentlength setting, as well as resource limits provided by deployment software and platforms, are also available to limit the resources used during a request. This vulnerability does not affect those settings.

Published Oct 25, 2024 · Updated May 20, 2026

Affected packages

Quart

Ecosystem
PyPI
Affected
< 0.20.0
Fixed in
0.20.0
Check
pip show Quart

Werkzeug

Ecosystem
PyPI
Affected
>= 2.0.0rc1, <= 3.0.5
Fixed in
3.0.6
Check
pip show Werkzeug

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Applications using Werkzeug to parse multipart/form-data requests are vulnerable to resource exhaustion. A specially crafted form body can bypass the Request.max_form_memory_size setting.

The Request.max_content_length setting, as well as resource limits provided by deployment software and platforms, are also 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.

Credited to defnull, levpachmanov.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries