CVE-2024-49767
published medium CVSS 4.0 · 6.9Werkzeug possible resource exhaustion when parsing file data in forms
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pallets | — | werkzeug>= 2.0.0rc1, < 3.0.6 | Affected | Not stated | GitHub_M |
| pallets | — | Quart< 0.20.0 | Affected | Not stated | GitHub_M |
| palletsprojects | — | werkzeug0 to < 3.0.6 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | py3-werkzeug | Fixed | 3.0.6-r0 | Package fix record |
| SUSE / openSUSE | SLE-15-SP5 | python311-Werkzeugnoarch | Advisory build | 2.3.6-150400.6.12.1 | SUSE-SU-2024:3810-1 |
| Ubuntu | jammy | python-werkzeug | Advisory build | 2.0.2+dfsg1-1ubuntu0.22.04.3 | USN-7093-1 |
| Alpine Linux | v3.20 | py3-werkzeug | Fixed | 3.0.6-r0 | Package fix record |
Show 32 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.21 | py3-werkzeug | Fixed | 3.0.6-r0 | Package fix record |
| Alpine Linux | v3.22 | py3-werkzeug | Fixed | 3.0.6-r0 | Package fix record |
| Alpine Linux | v3.23 | py3-werkzeug | Fixed | 3.0.6-r0 | Package fix record |
| Alpine Linux | v3.24 | py3-werkzeug | Fixed | 3.0.6-r0 | Package fix record |
| SUSE / openSUSE | SLE-15-SP6 | python311-Werkzeugnoarch | Advisory build | 2.3.6-150400.6.12.1 | SUSE-SU-2024:3810-1 |
| SUSE / openSUSE | SLE-3-SP5 | python311-Werkzeugnoarch | Advisory build | 2.3.6-150400.6.12.1 | SUSE-SU-2024:3810-1 |
| SUSE / openSUSE | SLE-3-SP6 | python311-Werkzeugnoarch | Advisory build | 2.3.6-150400.6.12.1 | SUSE-SU-2024:3810-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | python311-Werkzeugnoarch | Advisory build | 2.3.6-150400.6.12.1 | SUSE-SU-2024:3810-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | python311-Werkzeugnoarch | Advisory build | 2.3.6-150400.6.12.1 | SUSE-SU-2024:3810-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Werkzeugaarch64 | Advisory build | 3.0.6-1.1 | OPENSUSE-SU-2024:14437-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Werkzeugppc64le | Advisory build | 3.0.6-1.1 | OPENSUSE-SU-2024:14437-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Werkzeugs390x | Advisory build | 3.0.6-1.1 | OPENSUSE-SU-2024:14437-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Werkzeugx86_64 | Advisory build | 3.0.6-1.1 | OPENSUSE-SU-2024:14437-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Werkzeugaarch64 | Advisory build | 3.0.6-1.1 | OPENSUSE-SU-2024:14437-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Werkzeugppc64le | Advisory build | 3.0.6-1.1 | OPENSUSE-SU-2024:14437-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Werkzeugs390x | Advisory build | 3.0.6-1.1 | OPENSUSE-SU-2024:14437-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Werkzeugx86_64 | Advisory build | 3.0.6-1.1 | OPENSUSE-SU-2024:14437-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Werkzeugaarch64 | Advisory build | 3.0.6-1.1 | OPENSUSE-SU-2024:14437-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Werkzeugppc64le | Advisory build | 3.0.6-1.1 | OPENSUSE-SU-2024:14437-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Werkzeugs390x | Advisory build | 3.0.6-1.1 | OPENSUSE-SU-2024:14437-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Werkzeugx86_64 | Advisory build | 3.0.6-1.1 | OPENSUSE-SU-2024:14437-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Werkzeugaarch64 | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Werkzeugppc64le | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Werkzeugs390x | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Werkzeugx86_64 | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Werkzeugaarch64 | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Werkzeugppc64le | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Werkzeugs390x | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Werkzeugx86_64 | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| Ubuntu | jammy | python3-werkzeug | Advisory build | 2.0.2+dfsg1-1ubuntu0.22.04.3 | USN-7093-1 |
| Ubuntu | noble | python-werkzeug | Advisory build | 3.0.1-3ubuntu0.2 | USN-7093-1 |
| Ubuntu | noble | python3-werkzeug | Advisory build | 3.0.1-3ubuntu0.2 | USN-7093-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pallets | werkzeug | >= 2.0.0rc1, < 3.0.6 (affected) | GitHub_M · cna |
| pallets | Quart | < 0.20.0 (affected) | GitHub_M · cna |
| palletsprojects | werkzeug | 0 to < 3.0.6 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
6- https://github.com/pallets/quart/commit/5e78c4169b8eb66b91ead3e62d44721b9e1644ee
- https://github.com/pallets/quart/commit/abb04a512496206de279225340ed022852fbf51f
- https://github.com/pallets/werkzeug/commit/50cfeebcb0727e18cc52ffbeb125f4a66551179b
- https://github.com/pallets/werkzeug/releases/tag/3.0.6
- https://github.com/pallets/werkzeug/security/advisories/GHSA-q34m-jh98-gwm2
- https://security.netapp.com/advisory/ntap-20250103-0007/
Provider assertions
3GitHub_M · cna
Werkzeug possible resource exhaustion when parsing file data in forms
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c91f4d9455a497b92b5711ec3c5a60fe2eaf5f9fcdbf1adf3523fed7763f285f
- Ingested
- 23 Sep 2026, 08:29:06 UTC
- Source record
- Official CVE record