PT-2023-2540

CVE-2023-25577

·

Published

2023-02-14

·

Updated

2026-10-01

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Werkzeug versions prior to 2.2.3
Description The issue is related to the multipart form data parser in Werkzeug, which can parse an unlimited number of parts, including file parts. This can cause unexpectedly high resource usage if a request is made to an endpoint that accesses request.data, request.form, request.files, or request.get data(parse form data=False). An attacker can exploit this to cause a denial of service by sending crafted multipart data to an endpoint that will parse it, potentially blocking worker processes from handling legitimate requests, triggering an out of memory kill of the process, or exhausting available workers.
Recommendations For versions prior to 2.2.3, update to version 2.2.3 or later to resolve the issue. As a temporary workaround, consider restricting access to endpoints that parse multipart form data to minimize the risk of exploitation. Avoid using the request.data, request.form, request.files, or request.get data(parse form data=False) variables in affected API endpoints until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-XG9F-G7G7-2323
ALT-PU-2023-7835
ALT-PU-2025-3304
AZL-13588
DLA-3346-1
DSA-5470-1
OESA-2023-1515
OPENSUSE-SU-2024:12788-1
OPENSUSE-SU-2026:11943-1
PYSEC-2023-58
RHSA-2023:1018
RHSA-2023:1281
RHSA-2023:1325
RHSA-2023:7473
RHSA-2025:4664
RHSA-2025:9775
ROSA-SA-2024-2530
SUSE-SU-2023:1664-1
SUSE-SU-2023_1664-1
SUSE-SU-2023:1693-1
SUSE-SU-2023_1693-1
SUSE-SU-2023:1775-1
SUSE-SU-2023_1775-1
SUSE-SU-2023:2378-1
SUSE-SU-2023:2379-1
USN-5948-1
USN-5948-2
Found an issue in the description? Have something to add? Feel free to write us 👾