CVE-2024-49767 json
Werkzeug possible resource exhaustion when parsing file data in forms
published 2024-10-25 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-3107 , GHSA-q34m-jh98-gwm2 , PYSEC-2026-1860 , PYSEC-2026-3417
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi werkzeug 3.0.6
- pypi quart 0.20.0
- palletsprojects werkzeug 3.0.6
- quart Debian 14, Debian 13 0.19.9-1
- python-werkzeug Debian 12 2.2.2-3+deb12u1
- python-werkzeug Debian 14, Debian 13 3.1.3-2
debian advisories DEBIAN-CVE-2024-49767
- python-werkzeug Ubuntu 22.04 LTS 2.0.2+dfsg1-1ubuntu0.22.04.3
- python-werkzeug Ubuntu 24.04 LTS 3.0.1-3ubuntu0.2
ubuntu advisories UBUNTU-CVE-2024-49767
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-Werkzeug SLE Module for Python 3 15 SP6, SLE Module for Python 3 15 SP5, openSUSE Leap 15.6 +1 more 2.3.6-150400.6.12.1
suse advisories SUSE-SU-2024:3810-1
- python-Werkzeug openSUSE Tumbleweed 3.1.9-1.1
- python-Werkzeug openSUSE Tumbleweed 3.0.6-1.1
opensuse advisories openSUSE-SU-2026:11943-1openSUSE-SU-2024:14437-1
- py3-werkzeug Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 3.0.6-r0
alpine advisories ALPINE-CVE-2024-49767
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-werkzeug CBL-Mariner 2.0 2.3.7-3
- python-werkzeug Azure Linux 3.0 3.0.3-2
azure linux advisories AZL-51690AZL-51723
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-49767 updated cvss 5.3
werkzeug: python-werkzeug: Werkzeug possible resource exhaustion when parsing file data in forms
-
Red Hat Quay 3 quay/quay-rhel8affected: workaround, no fix available
-
Red Hat OpenShift AI 2.16 rhoai v2.16.0-1732953768fixed: vendor fix RHSA-2024:10852
-
Red Hat OpenShift AI 2.17 rhoai v2.17.0-1739102748fixed: vendor fix RHSA-2025:1448
-
Red Hat OpenShift AI 2.16 rhoai v2.16.0-1732898906, rhoai v2.16.0-1732899102, rhoai v2.16.0-1732953706, rhoai v2.16.0-1732953738, rhoai v2.16.0-1732953753, rhoai v2.16.0-1732953799, +14 more Red Hat OpenShift AI 2.17 rhoai v2.17.0-1739102527, rhoai v2.17.0-1739102539, rhoai v2.17.0-1739102637, rhoai v2.17.0-1739102645, rhoai v2.17.0-1739102747, rhoai v2.17.0-1739102856, +14 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.09% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 6.9 | 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 |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 4.0 | 6.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | werkzeug | >=2.0.0rc1, <3.0.6 |
3.0.6 |
| pypi | quart | <0.20.0 |
0.20.0 |
Affected products
- pallets werkzeug
- pallets Quart
- palletsprojects werkzeug
Classification
References
-
github.com
/pallets/quart/commit/5e78c4169b8eb66b91ead3e62d44721b9e1644ee
web, patch
-
github.com
/pallets/quart/commit/abb04a512496206de279225340ed022852fbf51f
web
-
github.com
/pallets/werkzeug/commit/50cfeebcb0727e18cc52ffbeb125f4a66551179b
web, patch
-
github.com
/pallets/werkzeug/commit/cbb446fdcada7685fce936ded01b76c08dbd6eb5
web
-
github.com
/pallets/werkzeug/security/advisories/GHSA-q34m-jh98-gwm2
web, vendor-advisory
-
github.com
/pallets/werkzeug/releases/tag/3.0.6
web, release-notes
- security.netapp.com /advisory/ntap-20250103-0007/
-
nvd.nist.gov
/vuln/detail/CVE-2024-49767
advisory
-
github.com
/pallets/werkzeug
package
-
security.netapp.com
/advisory/ntap-20250103-0007
web
-
pypi.org
/project/quart
package
-
github.com
/advisories/GHSA-q34m-jh98-gwm2
advisory
-
pypi.org
/project/werkzeug
package
Sources
- CVE List CVE-2024-49767
- GitHub Advisory GHSA-q34m-jh98-gwm2
- NVD CVE-2024-49767
- OSV PYSEC-2026-1860
- OSV PYSEC-2026-3417
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.