Werkzeug Web Server Gateway Interface Vulnerability: Denial of Service Attack via Maliciously Formatted Submission
CVE-2024-49767

6.9MEDIUM

Key Information:

Vendor

Pallets

Vendor
CVE Published:
25 October 2024

What is CVE-2024-49767?

The vulnerability in Werkzeug affects applications utilizing the werkzeug.formparser.MultiPartParser for handling multipart/form-data requests. Specifically, versions of Werkzeug prior to 3.0.6 are susceptible to a resource exhaustion attack, where a maliciously crafted form submission can lead to significant memory allocation issues. This issue stems from the parser's ability to allocate memory resources that can be between three to eight times larger than the upload size, resulting in potential denial of service scenarios. A single upload at high speeds has the potential to exhaust substantial amounts of RAM, potentially crashing the application. The vulnerability is mitigated in Werkzeug version 3.0.6.

Affected Version(s)

Quart < 0.20.0

werkzeug >= 2.0.0rc1, < 3.0.6

References

CVSS V4

Score:
6.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.