CVE-2024-34069
High 7.5No known exploitationFix availableWerkzeug's improper usage of a pathname and improper CSRF protection results in the remote command execution
Vendor advisory: GHSA-2g68-c3qc-8985
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 89% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-352
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| pallets | werkzeug | < 3.0.3 | Not documented | CVE Program |
| pip | Werkzeug | all versions before 3.0.3 | 3.0.3 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-2g68-c3qc-8985 (opens in a new tab)github-advisory
- https://github.com/pallets/werkzeug/commit/3386395b24c7371db11a5b8eaac0c91da5362692 (opens in a new tab)x_refsource_misc, x_transferred
- https://github.com/pallets/werkzeug/security/advisories/GHSA-2g68-c3qc-8985 (opens in a new tab)x_refsource_confirm, x_transferred
- https://lists.debian.org/debian-lts-announce/2025/02/msg00026.html (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/H4SH32AM3CTPMAAEOIDAN7VU565LO4IR/ (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HFERFN7PINV4MOGMGA3DPIXJPDCYOEJZ/ (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20240614-0004/ (opens in a new tab)x_transferred