Skip to content
Fencer Vulns
high 7.5

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-rhel8
    affected: workaround, no fix available
  • Red Hat OpenShift AI 2.16 rhoai v2.16.0-1732953768
    fixed: vendor fix RHSA-2024:10852
  • Red Hat OpenShift AI 2.17 rhoai v2.17.0-1739102748
    fixed: 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 more
    not 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

Weakness
  • CWE-400 Uncontrolled Resource Consumption
  • CWE-770 Allocation of Resources Without Limits or Throttling

References

Sources

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.