Vulnerability
CVE-2023-25577
Werkzeug is a comprehensive WSGI web application library. Prior to version 2.2.3, Werkzeug's multipart form data parser will parse an unlimited number of parts, including file parts. Parts can be a small amount of bytes, but each requires CPU time to parse and may use more memory as Python data. If a request can be made to an endpoint that accesses `request.data`, `request.form`, `request.files`, or `request.get_data(parse_form_data=False)`, it can cause unexpectedly high resource usage. This allows an attacker to cause a denial of service by sending crafted multipart data to an endpoint that will parse it. The amount of CPU time required can block worker processes from handling legitimate requests. The amount of RAM required can trigger an out of memory kill of the process. Unlimited file parts can use up memory and file handles. If many concurrent requests are sent continuously, this can exhaust or kill all available workers. Version 2.2.3 contains a patch for this issue.
28 advisories report this vulnerability, across 12 ecosystems.
Advisories
-
ALAS2023-2023-125
Amazon Linux 2023 - ALAS2023-2023-125: Important priority package update for python-werkzeug
-
AZL-13588
CVE-2023-25577 affecting package python-werkzeug for versions less than 2.0.3-2
- CGA-4j4p-2wgh-2r23
-
DEBIAN-CVE-2023-25577
Werkzeug is a comprehensive WSGI web application library. Prior to version 2.2.3, Werkzeug's multipart form data parser will parse an unlimited number of parts, including file parts. Parts can be a small amount of…
-
DLA-3346-1
python-werkzeug - security update
-
DSA-5470-1
python-werkzeug - security update
-
ELSA-2023-12709
ELSA-2023-12709: python-werkzeug security update (LOW)
-
GHSA-xg9f-g7g7-2323
High resource usage when parsing multipart form data with many fields
-
OESA-2023-1515
python-werkzeug security update
-
PYSEC-2023-58
Werkzeug is a comprehensive WSGI web application library. Prior to version 2.2.3, Werkzeug's multipart form data parser will parse an unlimited number of parts, including file parts. Parts can be a small amount of…
-
RHBA-2023:1507
Red Hat Bug Fix Advisory: OpenShift Container Platform 4.12.10 packages update
-
RHBA-2023:1759
Red Hat Bug Fix Advisory: OpenShift Container Platform 4.11.37 packages and security update
-
RHSA-2023:1018
Red Hat Security Advisory: Red Hat OpenStack Platform 17.0 (python-werkzeug) security update
-
RHSA-2023:1281
Red Hat Security Advisory: Red Hat OpenStack Platform (python-werkzeug) security update
-
RHSA-2023:1325
Red Hat Security Advisory: OpenShift Container Platform 4.13.0 security update
-
RHSA-2023:7473
Red Hat Security Advisory: OpenShift Container Platform 4.14.4 packages and security update
-
RHSA-2025:4664
Red Hat Security Advisory: Red Hat Ceph Storage 7.1 security, bug fix, and enhancement updates
-
RHSA-2025:9775
Red Hat Security Advisory: Red Hat Ceph Storage 8.1 security, bug fix, and enhancement updates
-
RHVEX-CVE-2023-25577
python-werkzeug: high resource usage when parsing multipart form data with many fields
-
SUSE-SU-2023:1664-1
Security update for python-Werkzeug
-
SUSE-SU-2023:1693-1
Security update for python-Werkzeug
-
SUSE-SU-2023:1775-1
Security update for python-Werkzeug
-
SUSE-SU-2023:2378-1
Security update for openstack-heat, openstack-swift, python-Werkzeug
-
SUSE-SU-2023:2379-1
Security update for openstack-heat, python-Werkzeug
-
UBUNTU-CVE-2023-25577
Werkzeug is a comprehensive WSGI web application library. Prior to version 2.2.3, Werkzeug's multipart form data parser will parse an unlimited number of parts, including file parts. Parts can be a small amount of…
-
USN-5948-1
python-werkzeug vulnerabilities
-
openSUSE-SU-2024:12788-1
python310-Werkzeug-2.2.3-1.1 on GA media
-
openSUSE-SU-2026:11943-1
python313-Werkzeug-3.1.9-1.1 on GA media
References
- https://github.com/pallets/werkzeug/commit/517cac5a804e8c4dc4ed038bb20dacd038e7a9f1
- https://github.com/pallets/werkzeug/releases/tag/2.2.3
- https://github.com/pallets/werkzeug/security/advisories/GHSA-xg9f-g7g7-2323
- https://security.netapp.com/advisory/ntap-20230818-0003/
- https://www.debian.org/security/2023/dsa-5470