CVE-2023-25577
published high CVSS 3.1 · 7.5Werkzeug may allow high resource usage when parsing multipart form data with many fields
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pallets | — | werkzeug< 2.2.3 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-125 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bullseye | python-werkzeug | Advisory build | 1.0.1+dfsg1-2+deb11u1 | DSA-5470-1 |
| Oracle Linux | 8 | python3-werkzeugaarch64 | Advisory build | 0:0.12.2-4.0.1.el8 | ELSA-2023-12709 |
| SUSE / openSUSE | SLE-12 | python-Werkzeugnoarch | Advisory build | 0.12.2-10.13.1 | SUSE-SU-2023:1775-1 |
| Ubuntu | bionic | python-werkzeug | Advisory build | 0.14.1+dfsg1-1ubuntu0.2 | USN-5948-1 |
| Amazon Linux | AL2023 | python-werkzeugnoarch | Listed in advisory | Not stated | ALAS2023-2023-125 |
| Debian | buster | python-werkzeug | Advisory build | 0.14.1+dfsg1-4+deb10u2 | DLA-3346-1 |
Show 47 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | python3-werkzeugx86_64 | Advisory build | 0:0.12.2-4.0.1.el8 | ELSA-2023-12709 |
| SUSE / openSUSE | SLE-12 | python3-Werkzeugnoarch | Advisory build | 0.12.2-10.13.1 | SUSE-SU-2023:1775-1 |
| SUSE / openSUSE | SLE-12-SP3 | python-Werkzeugnoarch | Advisory build | 0.12.2-10.13.1 | SUSE-SU-2023:1775-1 |
| SUSE / openSUSE | SLE-12-SP3 | python3-Werkzeugnoarch | Advisory build | 0.12.2-10.13.1 | SUSE-SU-2023:1775-1 |
| SUSE / openSUSE | SLE-12-SP4 | python-Werkzeugnoarch | Advisory build | 0.12.2-10.13.1 | SUSE-SU-2023:1775-1 |
| SUSE / openSUSE | SLE-12-SP4 | python3-Werkzeugnoarch | Advisory build | 0.12.2-10.13.1 | SUSE-SU-2023:1775-1 |
| SUSE / openSUSE | SLE-12-SP5 | python-Werkzeugnoarch | Advisory build | 0.12.2-10.13.1 | SUSE-SU-2023:1775-1 |
| SUSE / openSUSE | SLE-12-SP5 | python3-Werkzeugnoarch | Advisory build | 0.12.2-10.13.1 | SUSE-SU-2023:1775-1 |
| SUSE / openSUSE | SLE-15-SP1 | python3-Werkzeugnoarch | Advisory build | 0.14.1-150100.6.6.1 | SUSE-SU-2023:1664-1 |
| SUSE / openSUSE | SLE-15-SP2 | python3-Werkzeugnoarch | Advisory build | 0.14.1-150100.6.6.1 | SUSE-SU-2023:1664-1 |
| SUSE / openSUSE | SLE-15-SP3 | python3-Werkzeugnoarch | Advisory build | 1.0.1-150300.3.3.1 | SUSE-SU-2023:1693-1 |
| SUSE / openSUSE | SLE-15-SP4 | python2-Werkzeugnoarch | Advisory build | 1.0.1-150300.3.3.1 | SUSE-SU-2023:1693-1 |
| SUSE / openSUSE | SLE-15-SP4 | python3-Werkzeugnoarch | Advisory build | 1.0.1-150300.3.3.1 | SUSE-SU-2023:1693-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | python-Werkzeug-docnoarch | Advisory build | 0.14.1-150100.6.6.1 | SUSE-SU-2023:1664-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | python3-Werkzeugnoarch | Advisory build | 1.0.1-150300.3.3.1 | SUSE-SU-2023:1693-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Werkzeugaarch64 | Advisory build | 2.2.3-1.1 | OPENSUSE-SU-2024:12788-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Werkzeugppc64le | Advisory build | 2.2.3-1.1 | OPENSUSE-SU-2024:12788-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Werkzeugs390x | Advisory build | 2.2.3-1.1 | OPENSUSE-SU-2024:12788-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-Werkzeugx86_64 | Advisory build | 2.2.3-1.1 | OPENSUSE-SU-2024:12788-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Werkzeugaarch64 | Advisory build | 2.2.3-1.1 | OPENSUSE-SU-2024:12788-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Werkzeugppc64le | Advisory build | 2.2.3-1.1 | OPENSUSE-SU-2024:12788-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Werkzeugs390x | Advisory build | 2.2.3-1.1 | OPENSUSE-SU-2024:12788-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Werkzeugx86_64 | Advisory build | 2.2.3-1.1 | OPENSUSE-SU-2024:12788-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Werkzeugaarch64 | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Werkzeugppc64le | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Werkzeugs390x | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Werkzeugx86_64 | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Werkzeugaarch64 | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Werkzeugppc64le | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Werkzeugs390x | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Werkzeugx86_64 | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Werkzeugaarch64 | Advisory build | 2.2.3-1.1 | OPENSUSE-SU-2024:12788-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Werkzeugppc64le | Advisory build | 2.2.3-1.1 | OPENSUSE-SU-2024:12788-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Werkzeugs390x | Advisory build | 2.2.3-1.1 | OPENSUSE-SU-2024:12788-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-Werkzeugx86_64 | Advisory build | 2.2.3-1.1 | OPENSUSE-SU-2024:12788-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-Werkzeugaarch64 | Advisory build | 2.2.3-1.1 | OPENSUSE-SU-2024:12788-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-Werkzeugppc64le | Advisory build | 2.2.3-1.1 | OPENSUSE-SU-2024:12788-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-Werkzeugs390x | Advisory build | 2.2.3-1.1 | OPENSUSE-SU-2024:12788-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-Werkzeugx86_64 | Advisory build | 2.2.3-1.1 | OPENSUSE-SU-2024:12788-1 |
| Ubuntu | bionic | python3-werkzeug | Advisory build | 0.14.1+dfsg1-1ubuntu0.2 | USN-5948-1 |
| Ubuntu | focal | python-werkzeug | Advisory build | 0.16.1+dfsg1-2ubuntu0.1 | USN-5948-1 |
| Ubuntu | focal | python3-werkzeug | Advisory build | 0.16.1+dfsg1-2ubuntu0.1 | USN-5948-1 |
| Ubuntu | jammy | python-werkzeug | Advisory build | 2.0.2+dfsg1-1ubuntu0.22.04.1 | USN-5948-1 |
| Ubuntu | jammy | python3-werkzeug | Advisory build | 2.0.2+dfsg1-1ubuntu0.22.04.1 | USN-5948-1 |
| Ubuntu | xenial | python-werkzeug | Advisory build | 0.10.4+dfsg1-1ubuntu1.2+esm1 | USN-5948-1 |
| Ubuntu | xenial | python3-werkzeug | Advisory build | 0.10.4+dfsg1-1ubuntu1.2+esm1 | USN-5948-1 |
| Amazon Linux | AL2023 | python-werkzeugsrc | Listed in advisory | Not stated | ALAS2023-2023-125 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pallets | werkzeug | < 2.2.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
5- 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
Provider assertions
3GitHub_M · cna
Werkzeug may allow high resource usage when parsing multipart form data with many fields
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 977e0ddf68ee85ac10e99743a39b33d9b690eada2c08537dd15736f7aeb345b6
- Ingested
- 23 Sep 2026, 08:06:55 UTC
- Source record
- Official CVE record