Skip to main content
Network Thinking Solutions Logo

CVE-2024-49767

Werkzeug possible resource exhaustion when parsing file data in forms

All CVEs
CVE-2024-49767Published 10/25/2024

Werkzeug possible resource exhaustion when parsing file data in forms

Vendor advisory
CVSS6.9Medium

Overview

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.

Published
10/25/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
quart
palletsprojects
< 0.19.7

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
werkzeug
palletsprojects
< 3.0.6

Verify advisory

Source
werkzeug
pallets
>= 2.0.0rc1, < 3.0.6

Verify advisory

Source
Quart
pallets
< 0.20.0

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
werkzeug
palletsprojects
< 3.0.6

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 6.9. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.