Skip to content

Werkzeug debugger vulnerable to remote execution when interacting with attacker controlled domain

High
davidism published GHSA-2g68-c3qc-8985 May 5, 2024

Package

pip Werkzeug (pip)

Affected versions

<3.0.3

Patched versions

3.0.3

Description

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.

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

CVE ID

CVE-2024-34069

Weaknesses

No CWEs

Credits