CVE-2024-34069 Werkzeug's improper usage of a pathname and improper CSRF protection results in the remote command execution
HighCVSS 7.5
EPSS 3.4%
Framework module
- Published
- Updated
- Exploit status
- Public exploit available
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
Description
Werkzeug is a comprehensive WSGI web application library. The debugger in affected versions of Werkzeug can allow an attacker to execute code on a developer's machine under some circumstances. This requires the attacker to get the developer to interact with a domain and subdomain they control, and enter the debugger PIN, but if they are successful it allows access to the debugger even if it is only running on localhost. This also requires the attacker to guess a URL in the developer's application that will trigger the debugger. This vulnerability is fixed in 3.0.3.
Upgrade path
13 packages: 10 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/python-werkzeug(Debian 12) | < 2.2.2-3+deb12u1; = 2.2.2-3 | 2.2.2-3+deb12u1 | Fixed |
| debian/python-werkzeug(Debian 13) | < 3.0.3-1 | 3.0.3-1 | Fixed |
| debian/python-werkzeug(Debian 14) | < 3.0.3-1 | 3.0.3-1 | Fixed |
| palletsprojects werkzeug | < 3.0.3 | 3.0.3 | Fixed |
| pypi werkzeug(PyPI) | < 3.0.3; = 0.1; = 0.2; = 0.3 +90 more | 3.0.3 | Fixed |
| ubuntu/python-werkzeug(Ubuntu 20.04) | < 0.16.1+dfsg1-2ubuntu0.2; = 0.14.1+dfsg1-4; = 0.15.6+dfsg1-1; = 0.16.0+dfsg1-1 +3 more | 0.16.1+dfsg1-2ubuntu0.2 | Fixed |
| ubuntu/python-werkzeug(Ubuntu 22.04) | < 2.0.2+dfsg1-1ubuntu0.22.04.2; = 1.0.1+dfsg1-2; = 2.0.2+dfsg1-1; = 2.0.2+dfsg1-1ubuntu0.22.04.1 | 2.0.2+dfsg1-1ubuntu0.22.04.2 | Fixed |
| ubuntu/python-werkzeug(Ubuntu 24.04) | < 3.0.1-3ubuntu0.1; = 2.2.2-3; = 3.0.1-1; = 3.0.1-2 +1 more | 3.0.1-3ubuntu0.1 | Fixed |
| ubuntu/python-werkzeug(Ubuntu Pro 16.04) | < 0.10.4+dfsg1-1ubuntu1.2+esm2; = 0.10.4+dfsg1-1ubuntu1; = 0.10.4+dfsg1-1ubuntu1.1; = 0.10.4+dfsg1-1ubuntu1.2 +1 more | 0.10.4+dfsg1-1ubuntu1.2+esm2 | Fixed |
| ubuntu/python-werkzeug(Ubuntu Pro 18.04) | < 0.14.1+dfsg1-1ubuntu0.2+esm1; = 0.12.2+dfsg1-2; = 0.13+dfsg1-1; = 0.14.1+dfsg1-1 +2 more | 0.14.1+dfsg1-1ubuntu0.2+esm1 | Fixed |
| debian linux | = 11.0 | No fix listed | Versions listed |
| fedoraproject fedora | = 38; = 40 | No fix listed | Versions listed |
| pallets werkzeug | = < 3.0.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi werkzeug(PyPI) | < 3.0.3 | 3.0.3 |
| pypi werkzeug(PyPI) | = 0.1 | No fix listed |
| pypi werkzeug(PyPI) | = 0.10 | No fix listed |
| pypi werkzeug(PyPI) | = 0.10.1 | No fix listed |
| pypi werkzeug(PyPI) | = 0.10.2 | No fix listed |
| pypi werkzeug(PyPI) | = 0.10.3 | No fix listed |
| pypi werkzeug(PyPI) | = 0.10.4 | No fix listed |
| pypi werkzeug(PyPI) | = 0.11 | No fix listed |
| pypi werkzeug(PyPI) | = 0.11.1 | No fix listed |
| pypi werkzeug(PyPI) | = 0.11.10 | No fix listed |
| pypi werkzeug(PyPI) | = 0.11.11 | No fix listed |
| pypi werkzeug(PyPI) | = 0.11.12 | No fix listed |
| pypi werkzeug(PyPI) | = 0.11.13 | No fix listed |
| pypi werkzeug(PyPI) | = 0.11.14 | No fix listed |
| pypi werkzeug(PyPI) | = 0.11.15 | No fix listed |
| pypi werkzeug(PyPI) | = 0.11.2 | No fix listed |
| pypi werkzeug(PyPI) | = 0.11.3 | No fix listed |
| pypi werkzeug(PyPI) | = 0.11.4 | No fix listed |
| pypi werkzeug(PyPI) | = 0.11.5 | No fix listed |
| pypi werkzeug(PyPI) | = 0.11.6 | No fix listed |
| pypi werkzeug(PyPI) | = 0.11.7 | No fix listed |
| pypi werkzeug(PyPI) | = 0.11.8 | No fix listed |
| pypi werkzeug(PyPI) | = 0.11.9 | No fix listed |
| pypi werkzeug(PyPI) | = 0.12 | No fix listed |
| pypi werkzeug(PyPI) | = 0.12.1 | No fix listed |
Show 105 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi werkzeug(PyPI) | = 0.12.2 | No fix listed |
| pypi werkzeug(PyPI) | = 0.13 | No fix listed |
| pypi werkzeug(PyPI) | = 0.14 | No fix listed |
| pypi werkzeug(PyPI) | = 0.14.1 | No fix listed |
| pypi werkzeug(PyPI) | = 0.15.0 | No fix listed |
| pypi werkzeug(PyPI) | = 0.15.1 | No fix listed |
| pypi werkzeug(PyPI) | = 0.15.2 | No fix listed |
| pypi werkzeug(PyPI) | = 0.15.3 | No fix listed |
| pypi werkzeug(PyPI) | = 0.15.4 | No fix listed |
| pypi werkzeug(PyPI) | = 0.15.5 | No fix listed |
| pypi werkzeug(PyPI) | = 0.15.6 | No fix listed |
| pypi werkzeug(PyPI) | = 0.16.0 | No fix listed |
| pypi werkzeug(PyPI) | = 0.16.1 | No fix listed |
| pypi werkzeug(PyPI) | = 0.2 | No fix listed |
| pypi werkzeug(PyPI) | = 0.3 | No fix listed |
| pypi werkzeug(PyPI) | = 0.3.1 | No fix listed |
| pypi werkzeug(PyPI) | = 0.4 | No fix listed |
| pypi werkzeug(PyPI) | = 0.4.1 | No fix listed |
| pypi werkzeug(PyPI) | = 0.5 | No fix listed |
| pypi werkzeug(PyPI) | = 0.5.1 | No fix listed |
| pypi werkzeug(PyPI) | = 0.6 | No fix listed |
| pypi werkzeug(PyPI) | = 0.6.1 | No fix listed |
| pypi werkzeug(PyPI) | = 0.6.2 | No fix listed |
| pypi werkzeug(PyPI) | = 0.7 | No fix listed |
| pypi werkzeug(PyPI) | = 0.7.1 | No fix listed |
| pypi werkzeug(PyPI) | = 0.7.2 | No fix listed |
| pypi werkzeug(PyPI) | = 0.8 | No fix listed |
| pypi werkzeug(PyPI) | = 0.8.1 | No fix listed |
| pypi werkzeug(PyPI) | = 0.8.2 | No fix listed |
| pypi werkzeug(PyPI) | = 0.8.3 | No fix listed |
| pypi werkzeug(PyPI) | = 0.9 | No fix listed |
| pypi werkzeug(PyPI) | = 0.9.1 | No fix listed |
| pypi werkzeug(PyPI) | = 0.9.2 | No fix listed |
| pypi werkzeug(PyPI) | = 0.9.3 | No fix listed |
| pypi werkzeug(PyPI) | = 0.9.4 | No fix listed |
| pypi werkzeug(PyPI) | = 0.9.5 | No fix listed |
| pypi werkzeug(PyPI) | = 0.9.6 | No fix listed |
| pypi werkzeug(PyPI) | = 1.0.0 | No fix listed |
| pypi werkzeug(PyPI) | = 1.0.0rc1 | No fix listed |
| pypi werkzeug(PyPI) | = 1.0.1 | No fix listed |
| pypi werkzeug(PyPI) | = 2.0.0 | No fix listed |
| pypi werkzeug(PyPI) | = 2.0.0rc1 | No fix listed |
| pypi werkzeug(PyPI) | = 2.0.0rc2 | No fix listed |
| pypi werkzeug(PyPI) | = 2.0.0rc3 | No fix listed |
| pypi werkzeug(PyPI) | = 2.0.0rc4 | No fix listed |
| pypi werkzeug(PyPI) | = 2.0.0rc5 | No fix listed |
| pypi werkzeug(PyPI) | = 2.0.1 | No fix listed |
| pypi werkzeug(PyPI) | = 2.0.2 | No fix listed |
| pypi werkzeug(PyPI) | = 2.0.3 | No fix listed |
| pypi werkzeug(PyPI) | = 2.1.0 | No fix listed |
| pypi werkzeug(PyPI) | = 2.1.1 | No fix listed |
| pypi werkzeug(PyPI) | = 2.1.2 | No fix listed |
| pypi werkzeug(PyPI) | = 2.2.0 | No fix listed |
| pypi werkzeug(PyPI) | = 2.2.0a1 | No fix listed |
| pypi werkzeug(PyPI) | = 2.2.1 | No fix listed |
| pypi werkzeug(PyPI) | = 2.2.2 | No fix listed |
| pypi werkzeug(PyPI) | = 2.2.3 | No fix listed |
| pypi werkzeug(PyPI) | = 2.3.0 | No fix listed |
| pypi werkzeug(PyPI) | = 2.3.1 | No fix listed |
| pypi werkzeug(PyPI) | = 2.3.2 | No fix listed |
| pypi werkzeug(PyPI) | = 2.3.3 | No fix listed |
| pypi werkzeug(PyPI) | = 2.3.4 | No fix listed |
| pypi werkzeug(PyPI) | = 2.3.5 | No fix listed |
| pypi werkzeug(PyPI) | = 2.3.6 | No fix listed |
| pypi werkzeug(PyPI) | = 2.3.7 | No fix listed |
| pypi werkzeug(PyPI) | = 2.3.8 | No fix listed |
| pypi werkzeug(PyPI) | = 3.0.0 | No fix listed |
| pypi werkzeug(PyPI) | = 3.0.1 | No fix listed |
| pypi werkzeug(PyPI) | = 3.0.2 | No fix listed |
| debian/python-werkzeug(Debian:12) | < 2.2.2-3+deb12u1 | 2.2.2-3+deb12u1 |
| debian/python-werkzeug(Debian:12) | = 2.2.2-3 | No fix listed |
| debian/python-werkzeug(Debian:13) | < 3.0.3-1 | 3.0.3-1 |
| debian/python-werkzeug(Debian:14) | < 3.0.3-1 | 3.0.3-1 |
| ubuntu/python-werkzeug(Ubuntu:22.04) | < 2.0.2+dfsg1-1ubuntu0.22.04.2 | 2.0.2+dfsg1-1ubuntu0.22.04.2 |
| pallets werkzeug | = < 3.0.3 | No fix listed |
| palletsprojects werkzeug | < 3.0.3 | 3.0.3 |
| ubuntu/python-werkzeug(Ubuntu:24.04) | < 3.0.1-3ubuntu0.1 | 3.0.1-3ubuntu0.1 |
| debian linux | = 11.0 | No fix listed |
| fedoraproject fedora | = 38 | No fix listed |
| fedoraproject fedora | = 40 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:Pro:16.04) | < 0.10.4+dfsg1-1ubuntu1.2+esm2 | 0.10.4+dfsg1-1ubuntu1.2+esm2 |
| ubuntu/python-werkzeug(Ubuntu:Pro:16.04) | = 0.10.4+dfsg1-1ubuntu1 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:Pro:16.04) | = 0.10.4+dfsg1-1ubuntu1.1 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:Pro:16.04) | = 0.10.4+dfsg1-1ubuntu1.2 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:Pro:16.04) | = 0.10.4+dfsg1-1ubuntu1.2+esm1 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:Pro:18.04) | < 0.14.1+dfsg1-1ubuntu0.2+esm1 | 0.14.1+dfsg1-1ubuntu0.2+esm1 |
| ubuntu/python-werkzeug(Ubuntu:Pro:18.04) | = 0.12.2+dfsg1-2 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:Pro:18.04) | = 0.13+dfsg1-1 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:Pro:18.04) | = 0.14.1+dfsg1-1 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:Pro:18.04) | = 0.14.1+dfsg1-1ubuntu0.1 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:Pro:18.04) | = 0.14.1+dfsg1-1ubuntu0.2 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:20.04) | < 0.16.1+dfsg1-2ubuntu0.2 | 0.16.1+dfsg1-2ubuntu0.2 |
| ubuntu/python-werkzeug(Ubuntu:20.04) | = 0.14.1+dfsg1-4 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:20.04) | = 0.15.6+dfsg1-1 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:20.04) | = 0.16.0+dfsg1-1 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:20.04) | = 0.16.1+dfsg1-1ubuntu1 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:20.04) | = 0.16.1+dfsg1-2 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:20.04) | = 0.16.1+dfsg1-2ubuntu0.1 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:22.04) | = 1.0.1+dfsg1-2 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:22.04) | = 2.0.2+dfsg1-1 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:22.04) | = 2.0.2+dfsg1-1ubuntu0.22.04.1 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:24.04) | = 2.2.2-3 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:24.04) | = 3.0.1-1 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:24.04) | = 3.0.1-2 | No fix listed |
| ubuntu/python-werkzeug(Ubuntu:24.04) | = 3.0.1-3 | No fix listed |
References
- Debian Security Tracker CVE-2024-34069 vendor-advisory
- bugs.debian.org issue-tracking
- https://github.com/pallets/werkzeug/security/advisories/GHSA-2g68-c3qc-8985 issue-tracking vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/pallets/werkzeug/commit/3386395b24c7371db11a5b8eaac0c91da5362692 issue-tracking patch
- github.com product
- lists.debian.org mailing-list third-party-advisory
- lists.fedoraproject.org mailing-list third-party-advisory
- lists.fedoraproject.org mailing-list third-party-advisory
- security.netapp.com third-party-advisory
- pypi.org product
- github.com vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6799-1 vendor-advisory
- www.cve.org issue-tracking
- github.com
- github.com