Werkzeug possible resource exhaustion when parsing file data in forms
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Partial Red Hat: 2 fixed, 1 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| pallets | werkzeug | 2.0.0rc1 to before 3.0.6 | 3.0.6 | Patch available | CNA |
| pallets | Quart | before 0.20.0 | 0.20.0 | Patch available | CNA |
| — | Werkzeug (PyPI) | 2.0.0rc1 to before 3.0.6 | 3.0.6 | Patch available | GHSA-q34m-jh98-gwm2 |
| — | Quart (PyPI) | before 0.20.0 | 0.20.0 | Patch available | GHSA-q34m-jh98-gwm2 |
- werkzeug Vendorpallets Affected 2.0.0rc1 to before 3.0.6 Fixed in 3.0.6 Patch available CNA
- Quart Vendorpallets Affected before 0.20.0 Fixed in 0.20.0 Patch available CNA
- Werkzeug (PyPI) Vendor— Affected 2.0.0rc1 to before 3.0.6 Fixed in 3.0.6 Patch available GHSA-q34m-jh98-gwm2
- Quart (PyPI) Vendor— Affected before 0.20.0 Fixed in 0.20.0 Patch available GHSA-q34m-jh98-gwm2
Remediation
- Fix · CNA werkzeug (pallets) Fixed in 3.0.6
- Fix · CNA Quart (pallets) Fixed in 0.20.0
- Fix · GHSA-q34m-jh98-gwm2 Werkzeug (PyPI) Fixed in 3.0.6 Advisory →
- Fix · GHSA-q34m-jh98-gwm2 Quart (PyPI) Fixed in 0.20.0 Advisory →
Red Hat 2 advisories
- RHSA-2025:1448 Released 2025-02-13 · Red Hat rating ImportantRHOAI 2.17.0 - Red Hat OpenShift AI
- Red Hat OpenShift AI 2.17 registry.redhat.io/rhoai/odh-dashboard-rhel8, registry.redhat.io/rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel8, registry.redhat.io/rhoai/odh-data-science-pipelines-operator-controller-rhel8 +5
- RHSA-2024:10852 Released 2024-12-05 · Red Hat rating ImportantRHOAI 2.16.0 - Red Hat OpenShift AI
- Red Hat OpenShift AI 2.16 registry.redhat.io/rhoai/odh-dashboard-rhel8, registry.redhat.io/rhoai/odh-data-science-pipelines-argo-argoexec-rhel8, registry.redhat.io/rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel8 +4
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Quay 3 | Affected | No fix yet |
| Red Hat OpenShift AI 2.16 | Fixed | RHSA-2024:10852 |
| Red Hat OpenShift AI 2.17 | Fixed | RHSA-2025:1448 |
Not affected: 2 products
- Red Hat OpenShift AI 2.16
- Red Hat OpenShift AI 2.17
Timeline
- 2026-10-02 Threatist record created from CVE-2024-49767
- 2026-10-03 Alias added: GHSA-q34m-jh98-gwm2
References
Patch 2
Advisory 2
Other 5
- https://github.com/pallets/quart/commit/abb04a512496206de279225340ed022852fbf51f
- https://github.com/pallets/werkzeug/releases/tag/3.0.6
- https://github.com/pallets/werkzeug/commit/cbb446fdcada7685fce936ded01b76c08dbd6eb5
- https://github.com/pallets/werkzeug
- https://security.netapp.com/advisory/ntap-20250103-0007
Sources
- CVE-2024-49767 · CVE Program
- CVE-2024-49767 · NVD
- FIRST EPSS
- GHSA-q34m-jh98-gwm2 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-49767 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences