CVE-2023-46136
Reported by github_m · Published October 24, 2023
Werkzeug is fixed in f3c803b3ade485a45f12b6d6617595350c0f03e2, 3.0.1 and 2.3.8 (PyPI)
Werkzeug is a comprehensive WSGI web application library. In versions on the 3.x branch prior to 3.0.1 and on the 2.x branch prior to 2.3.8, if an upload of a file that starts with CR or LF and then is followed by megabytes of data without these characters: all of these bytes are appended chunk by chunk into internal bytearray and lookup for boundary is performed on growing buffer. 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. This vulnerability has been patched in version 3.0.1 and 2.3.8.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Werkzeug | PyPI | f3c803b3ade485a45f12b6d6617595350c0f03e2, 3.0.1, 2.3.8 |
| airflow | Wolfi | 2.10.5-r44 |
| py3-tensorflow-serving-api | Chainguard | 2.14.1-r1 |
| kubeflow-jupyter-web-app | Chainguard | 1.8.0-r2 |
| py3-tensorflow-serving-api | Wolfi | 2.14.1-r1 |
| airflow-2 | Chainguard | 2.11.1-r0 |
| kubeflow-volumes-web-app | Chainguard | 1.7.0-r8 |
| kubeflow-pipelines-visualization-server | Wolfi | 2.4.0-r0 |
| werkzeug | palletsprojects | 2.3.8 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| pallets | werkzeug | >= 3.0.0, < 3.0.1, >= 2.0.0rc1, < 2.3.8 |
| wolfi | airflow | 0 |
| PyPI | Werkzeug | 2.0.0-rc.1, 3.0.0 |
| chainguard | py3-tensorflow-serving-api | 0 |
| chainguard | kubeflow-jupyter-web-app | 0 |
| wolfi | py3-tensorflow-serving-api | 0 |
| chainguard | airflow-2 | 0 |
| chainguard | kubeflow-volumes-web-app | 0 |
| wolfi | kubeflow-pipelines-visualization-server | 0 |
| pallets | werkzeug | 3.0.0, 2.0.0rc1 |
| chainguard | py3-werkzeug | 0 |
| chainguard | airflow-core-2 | 0 |
| alpine | py3-werkzeug | 0 |
| wolfi | kubeflow-jupyter-web-app | 0 |
| wolfi | kubeflow-volumes-web-app | 0 |
| chainguard | kubeflow-pipelines-visualization-server | 0 |
| wolfi | airflow-3 | 0 |
| chainguard | airflow | 0 |
| wolfi | py3-werkzeug | 0 |
| chainguard | airflow-3 | 0 |
Timeline
- Oct 24, 2023 CVE Published
- Oct 25, 2023 EPSS Score (30 in total, the first dated here)
- Jan 29, 2026 Security Advisory (5 in total, the first dated here)
- Aug 1, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch (3 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-46136
vulnetix vdb fixes CVE-2023-46136
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-46136/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/pallets/werkzeug/security/advisories/GHSA-hrfv-mqp8-q5rw x_refsource_CONFIRM
- https://github.com/pallets/werkzeug/commit/f3c803b3ade485a45f12b6d6617595350c0f03e2 x_refsource_MISC
- WerkGhost exploit
- https://nvd.nist.gov/vuln/detail/CVE-2023-46136 advisory
- https://github.com/advisories/GHSA-hrfv-mqp8-q5rw advisory
- https://github.com/pallets/werkzeug/commit/b1916c0c083e0be1c9d887ee2f3d696922bfc5c1 patch
- https://github.com/pypa/advisory-database/tree/main/vulns/werkzeug/PYSEC-2023-221.yaml advisory
- https://github.com/pallets/werkzeug/commit/f2300208d5e2a5076cbbb4c2aad71096fd040ef9 patch
- https://security.netapp.com/advisory/ntap-20231124-0008 advisory
- https://github.com/pallets/werkzeug/commit/cbb446fdcada7685fce936ded01b76c08dbd6eb5 patch
- https://security.netapp.com/advisory/ntap-20231124-0008/ url