CVE-2022-29361
Improper parsing of HTTP requests in Pallets Werkzeug v2.1.0 and below allows attackers to perform HTTP Request Smuggling using a crafted HTTP request with multiple requests included inside the body. NOTE: the vendor's position is that this behavior can only occur in unsupported configurations involving development mode and an HTTP server from outside the Werkzeug project
What to do
Fixed builds are available from Alpine, PyPI: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 8 | python3-werkzeug | Not affected | ||
| Red Hat Enterprise Linux 7 | python-werkzeug | Not affected | ||
| Alpine Linux 3.24 | py3-werkzeug | Fixed | 2.2.2-r0 | ALPINE-CVE-2022-29361 |
| Alpine Linux 3.23 | py3-werkzeug | Fixed | 2.2.2-r0 | ALPINE-CVE-2022-29361 |
| Alpine Linux 3.22 | py3-werkzeug | Fixed | 2.2.2-r0 | ALPINE-CVE-2022-29361 |
| Alpine Linux 3.21 | py3-werkzeug | Fixed | 2.2.2-r0 | ALPINE-CVE-2022-29361 |
| Alpine Linux 3.20 | py3-werkzeug | Fixed | 2.2.2-r0 | ALPINE-CVE-2022-29361 |
| Alpine Linux 3.19 | py3-werkzeug | Fixed | 2.2.2-r0 | ALPINE-CVE-2022-29361 |
| Alpine Linux 3.18 | py3-werkzeug | Fixed | 2.2.2-r0 | ALPINE-CVE-2022-29361 |
| Alpine Linux 3.17 | py3-werkzeug | Fixed | 2.2.2-r0 | ALPINE-CVE-2022-29361 |
| PyPI library | werkzeug | Fixed | 2.1.1 | PYSEC-2022-203 |
References
- https://github.com/pallets/werkzeug/commit/9a3a981d70d2e9ec3344b5192f86fcaf3210cd85
- https://github.com/pallets/werkzeug/issues/2420
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.