CVE-2024-34069
Python vulnerability analysis and mitigation

Overview

The debugger in affected versions of Werkzeug (versions prior to 3.0.3) contains a vulnerability that could allow an attacker to execute code on a developer's machine under specific circumstances. The vulnerability was discovered in May 2024 and affects the Werkzeug WSGI web application library (GitHub Advisory).

Technical details

The vulnerability has been assigned CVE-2024-34069 with a CVSS v3.1 base score of 7.5 (HIGH). The attack vector is Network-based, with high attack complexity, requiring no privileges but necessitating user interaction. The vulnerability allows an attacker to execute code through the debugger even when it's only running on localhost, but requires the attacker to control a domain and subdomain, get the developer to interact with it, enter the debugger PIN, and guess a URL in the developer's application that triggers the debugger (GitHub Advisory).

Impact

Successful exploitation of this vulnerability could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS). The vulnerability affects the confidentiality, integrity, and availability of the system, all rated as High in the CVSS scoring (NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Werkzeug version 3.0.3. Users are advised to upgrade to this version or later. The fix includes restricting debugger requests to only allow localhost, .localhost, 127.0.0.1, or specified hostnames. Additional hosts can be added by using the debugger middleware directly (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management