VDB

CVE-2023-25577

CVE-2023-25577 PUBLISHED CVSS 7.5 HIGH

Werkzeug may allow high resource usage when parsing multipart form data with many fields

Reported by github_m · Published February 14, 2023

werkzeug is fixed in 2.2.3 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
werkzeugPyPI2.2.3
kubeflow-pipelines-visualization-serverChainguard2.4.0-r0
python3-werkzeug-docAmazon Linux1.0.1-5.amzn2023.0.3

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
palletswerkzeug< 2.2.3
chainguardkubeflow-pipelines-visualization-server0
amazon:2023python3-werkzeug-doc0
palletswerkzeug0
amazon:2023python3-werkzeug0
PyPIWerkzeug0
wolfikubeflow-pipelines-visualization-server0

Timeline

  • Feb 14, 2023 CVE Published
  • Feb 15, 2023 EPSS Score (30 in total, the first dated here)
  • Feb 4, 2026 CVE Updated
  • Mar 9, 2026 Security Advisory (11 in total, the first dated here)
  • Mar 10, 2026 Distribution Patch (7 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-25577
vulnetix vdb fixes CVE-2023-25577

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-25577/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›