cve.bz

CVE-2023-25577 palletsprojects werkzeug

7.5 highEPSS 1.4%Fix available

High (7.5) in palletsprojects werkzeug. EPSS 1.4% estimated probability of exploitation activity in the next 30 days. Fixed in werkzeug 2.2.3.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 74th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-03-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-25577 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-25577?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-25577?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-25577 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
palletsprojects:werkzeugbefore 2.2.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xg9f-g7g7-2323PyPIwerkzeug<2.2.32.2.3
PYSEC-2023-58PyPIwerkzeug<2.2.32.2.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10python-werkzeug0.14.1+dfsg1-4+deb10u2DLA-3346-1
Debian11python-werkzeug1.0.1+dfsg1-2+deb11u1DSA-5470-1
Debian12, 13, 14python-werkzeug2.2.2-3DEBIAN-CVE-2023-25577
Ubuntu18.04:LTSpython-werkzeug0.14.1+dfsg1-1ubuntu0.2UBUNTU-CVE-2023-25577 USN-5948-1
Ubuntu20.04:LTSpython-werkzeug0.16.1+dfsg1-2ubuntu0.1UBUNTU-CVE-2023-25577 USN-5948-1
Ubuntu22.04:LTSpython-werkzeug2.0.2+dfsg1-1ubuntu0.22.04.1UBUNTU-CVE-2023-25577 USN-5948-1
UbuntuPro:16.04:LTSpython-werkzeug0.10.4+dfsg1-1ubuntu1.2+esm1UBUNTU-CVE-2023-25577 USN-5948-1
Red Hatceph_storage:7.1::el8ceph, librbd1, librgw2 and 51 more2:18.2.1-329.el8cpRHSA-2025:4664
Red Hatceph_storage:7.1::el8liboath, oath-toolkit, liboath-debuginfo and 6 more0:2.6.12-1.el8cpRHSA-2025:4664
Red Hatceph_storage:7.1::el9ceph, cephadm, librbd1 and 53 more2:18.2.1-329.el9cpRHSA-2025:4664
Red Hatceph_storage:7.1::el9liboath, oath-toolkit, liboath-debuginfo and 6 more0:2.6.12-1.el9cpRHSA-2025:4664
Red Hatceph_storage:8.1::el9ceph, cephadm, librbd1 and 56 more2:19.2.1-222.el9cpRHSA-2025:9775
Red Hatceph_storage:8.1::el9cephadm-ansible1:4.1.4-1.el9cpRHSA-2025:9775
Red Hatceph_storage:8.1::el9liboath, oath-toolkit, liboath-debuginfo and 6 more0:2.6.12-1.el9cpRHSA-2025:9775
Red Hatopenshift:4.13::el8haproxy, haproxy22, haproxy-debugsource and 1 more0:2.2.24-3.rhaos4.13.el8RHSA-2023:1325
Red Hatopenshift:4.13::el8openshift, openshift-hyperkube0:4.13.0-202304211155.p0.gb404935.assembly.stream.el8RHSA-2023:1325
Red Hatopenshift:4.13::el8openshift-clients, openshift-clients-redistributable0:4.13.0-202303241616.p0.g92b1a3d.assembly.stream.el8RHSA-2023:1325
Red Hatopenshift:4.13::el8podman, podman-tests, podman-docker and 10 more3:4.4.1-3.rhaos4.13.el8RHSA-2023:1325
Red Hatopenshift:4.13::el8python-werkzeug, python3-werkzeug0:1.0.1-3.el8ostRHSA-2023:1325
14 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 4 morepython-Werkzeug0.14.1-150100.6.6.1SUSE-SU-2023:1664-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 7 morepython-Werkzeug1.0.1-150300.3.3.1SUSE-SU-2023:1693-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-designate5.0.3~dev7-12.45.1SUSE-SU-2023:2379-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-heat9.0.8~dev22-12.51.1SUSE-SU-2023:2379-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-magnum5.0.2_5.0.2_5.0.2~dev31-11.46.1SUSE-SU-2023:2379-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-octavia1.0.6~dev3-12.47.1SUSE-SU-2023:2379-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-sahara7.0.5~dev4-11.46.1SUSE-SU-2023:2379-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8openstack-heat, openstack-heat-doc9.0.8~dev22-3.30.3SUSE-SU-2023:2379-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8python-Werkzeug0.12.2-3.6.2SUSE-SU-2023:2379-1
SUSELinux Enterprise Module for Public Cloud 12python-Werkzeug0.12.2-10.13.1SUSE-SU-2023:1775-1
SUSEOpenStack Cloud 9venv-openstack-designate7.0.2~dev2-3.41.2SUSE-SU-2023:2378-1
SUSEOpenStack Cloud 9venv-openstack-heat11.0.4~dev4-3.43.2SUSE-SU-2023:2378-1
8 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4python-Werkzeug1.0.1-150300.3.3.1SUSE-SU-2023:1693-1
openSUSELeap 15.4python-Werkzeug-doc0.14.1-150100.6.6.1SUSE-SU-2023:1664-1
openSUSETumbleweedpython-Werkzeug2.2.3-1.1openSUSE-SU-2024:12788-1
openSUSETumbleweedpython-Werkzeug3.1.9-1.1openSUSE-SU-2026:11943-1
Azure Linux2python-werkzeug2.0.3-2AZL-13588

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Ironic content for Red Hat OpenShift Container Platform 4.11python-werkzeug-0:2.0.3-5.el8Fixed 2023-04-19RHBA-2023:1759
Ironic content for Red Hat OpenShift Container Platform 4.12python-werkzeug-0:2.0.3-4.el9Fixed 2023-04-03RHBA-2023:1507
Ironic content for Red Hat OpenShift Container Platform 4.13python-werkzeug-0:2.0.3-4.el9Fixed 2023-05-18RHSA-2023:1325
Red Hat Ceph Storage 7.1oath-toolkit-0:2.6.12-1.el8cpFixed 2025-05-07RHSA-2025:4664
Red Hat Ceph Storage 8.1oath-toolkit-0:2.6.12-1.el9cpFixed 2025-06-26RHSA-2025:9775
Red Hat OpenShift Container Platform 4.13python-werkzeug-0:1.0.1-3.el8ostFixed 2023-05-18RHSA-2023:1325
Red Hat OpenShift Container Platform 4.14python-werkzeug-0:2.2.3-2.el9Fixed 2023-11-29RHSA-2023:7473
Red Hat OpenStack Platform 13.0 Octavia - ELSpython-werkzeug-0:0.14.1-3.1.el7ostFixed 2023-03-15RHSA-2023:1281
Red Hat OpenStack Platform 16.1python-werkzeug-0:0.14.1-12.el8ostFixed 2023-03-15RHSA-2023:1281
Red Hat OpenStack Platform 16.2python-werkzeug-0:0.14.1-12.el8ostFixed 2023-03-15RHSA-2023:1281
Red Hat OpenStack Platform 17.0python-werkzeug-0:2.0.1-5.el9ostFixed 2023-02-28RHSA-2023:1018
Red Hat Quay 3quay/quay-rhel8:v3.10.0-150Fixed 2023-11-30RHSA-2023:7341
Red Hat Enterprise Linux 7python-werkzeugAffected
Red Hat Enterprise Linux 8python-werkzeugAffected
Red Hat OpenStack Platform 16.2openstack-designateAffected
Red Hat Storage 3python-werkzeugAffected
Red Hat Update Infrastructure 3 for Cloud Providerspython-werkzeugOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-25577.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON