CVE-2023-46136
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
WerkzeugPyPI | >= 3.0.0, < 3.0.1 | 3.0.1 |
WerkzeugPyPI | >= 2.0.0rc1, < 2.3.8 | 2.3.8 |
Affected products
29- osv-coords25 versionspkg:apk/chainguard/airflowpkg:apk/chainguard/airflow-2pkg:apk/chainguard/airflow-3pkg:apk/chainguard/airflow-3-bitnami-compatpkg:apk/chainguard/airflow-3-compatpkg:apk/chainguard/airflow-core-2pkg:apk/chainguard/kubeflow-jupyter-web-apppkg:apk/chainguard/kubeflow-pipelines-visualization-serverpkg:apk/chainguard/kubeflow-volumes-web-apppkg:apk/chainguard/py3-tensorflow-serving-apipkg:apk/chainguard/py3-werkzeugpkg:apk/wolfi/airflowpkg:apk/wolfi/airflow-3pkg:apk/wolfi/airflow-3-bitnami-compatpkg:apk/wolfi/airflow-3-compatpkg:apk/wolfi/kubeflow-jupyter-web-apppkg:apk/wolfi/kubeflow-pipelines-visualization-serverpkg:apk/wolfi/kubeflow-volumes-web-apppkg:apk/wolfi/py3-tensorflow-serving-apipkg:apk/wolfi/py3-werkzeugpkg:rpm/opensuse/python-Werkzeug&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/python-Werkzeug&distro=openSUSE%20Leap%2015.5pkg:rpm/opensuse/python-Werkzeug&distro=openSUSE%20Tumbleweedpkg:rpm/suse/python-Werkzeug&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP4pkg:rpm/suse/python-Werkzeug&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP5
< 2.9.1-r1+ 24 more
- (no CPE)range: < 2.9.1-r1
- (no CPE)range: < 2.11.1-r0
- (no CPE)range: < 3.0.1-r1
- (no CPE)range: < 3.0.1-r1
- (no CPE)range: < 3.0.1-r1
- (no CPE)range: < 2.11.1-r0
- (no CPE)range: < 1.8.0-r2
- (no CPE)range: < 2.4.0-r0
- (no CPE)range: < 1.7.0-r8
- (no CPE)range: < 2.14.1-r1
- (no CPE)range: < 3.0.1-r0
- (no CPE)range: < 2.9.1-r1
- (no CPE)range: < 3.0.1-r1
- (no CPE)range: < 3.0.1-r1
- (no CPE)range: < 3.0.1-r1
- (no CPE)range: < 1.8.0-r2
- (no CPE)range: < 2.4.0-r0
- (no CPE)range: < 1.7.0-r8
- (no CPE)range: < 2.14.1-r1
- (no CPE)range: < 3.0.1-r0
- (no CPE)range: < 2.3.6-150400.6.6.1
- (no CPE)range: < 2.3.6-150400.6.6.1
- (no CPE)range: < 3.0.1-1.1
- (no CPE)range: < 2.3.6-150400.6.6.1
- (no CPE)range: < 2.3.6-150400.6.6.1
Patches
Vulnerability mechanics
References
10- github.com/pallets/werkzeug/commit/f3c803b3ade485a45f12b6d6617595350c0f03e2nvdPatchWEB
- github.com/advisories/GHSA-hrfv-mqp8-q5rwghsaADVISORY
- github.com/pallets/werkzeug/security/advisories/GHSA-hrfv-mqp8-q5rwnvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2023-46136ghsaADVISORY
- security.netapp.com/advisory/ntap-20231124-0008/nvdThird Party Advisory
- github.com/pallets/werkzeug/commit/b1916c0c083e0be1c9d887ee2f3d696922bfc5c1ghsaWEB
- github.com/pallets/werkzeug/commit/cbb446fdcada7685fce936ded01b76c08dbd6eb5ghsaWEB
- github.com/pallets/werkzeug/commit/f2300208d5e2a5076cbbb4c2aad71096fd040ef9ghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/werkzeug/PYSEC-2023-221.yamlghsaWEB
- security.netapp.com/advisory/ntap-20231124-0008ghsaWEB
News mentions
0No linked articles in our index yet.