Live threats

All CVEs / Palletsprojects

CVE-2024-49767Palletsprojects Quart

Medium 6.9 No auth needed

Priority
57
CVSS 4.0
6.9
EPSS
1.5%
probability of exploitation in 30 days · percentile 75
Auth required
No
Published
Oct 25, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-770
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Quart.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI quart < 0.20.0 0.20.0 pip install "quart>=0.20.0"
PyPI quart < 0.20.0 0.20.0 pip install "quart>=0.20.0"
PyPI werkzeug ≥ 2.0.0rc1 < 3.0.6 3.0.6 pip install "werkzeug>=3.0.6"
PyPI werkzeug ≥ 2.0.0rc1 < 3.0.6 3.0.6 pip install "werkzeug>=3.0.6"

Per OSV / GitHub Advisories (GHSA-q34m-jh98-gwm2, PYSEC-2026-1860, PYSEC-2026-3417). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
palletsprojectsquart< 0.19.7
palletsprojectswerkzeug< 3.0.6

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.