CVE-2024-34069

Werkzeug's improper usage of a pathname and improper CSRF protection results in the remote command execution

Published May 6, 2024 CVSS 3.1 · 7.5 High EPSS 3.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4062-1 python-werkzeug security update
EUVD EUVD EUVD-2024-1358 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.
Github GHSA Github GHSA GHSA-2g68-c3qc-8985 Werkzeug debugger vulnerable to remote execution when interacting with attacker controlled domain
Ubuntu USN Ubuntu USN USN-6799-1 Werkzeug vulnerability
History
Type Values Removed Values Added
First Time appeared Debian
Debian debian Linux
Fedoraproject
Fedoraproject fedora
CPEs cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
Vendors & Products Debian
Debian debian Linux
Fedoraproject
Fedoraproject fedora
Type Values Removed Values Added
Metrics epss

{'score': 0.00156}

epss

{'score': 0.00212}

Type Values Removed Values Added
CPEs cpe:/a:redhat:ceph_storage:7.1::el9
Type Values Removed Values Added
First Time appeared Redhat ceph Storage
CPEs cpe:/a:redhat:ceph_storage:7.1::el8
Vendors & Products Redhat ceph Storage
Type Values Removed Values Added
First Time appeared Palletsprojects
Palletsprojects werkzeug
CPEs cpe:2.3:a:palletsprojects:werkzeug:*:*:*:*:*:*:*:*
Vendors & Products Palletsprojects
Palletsprojects werkzeug
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:/a:redhat:openstack:16.2::el8
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.15::el8
Type Values Removed Values Added
First Time appeared Redhat openstack
CPEs cpe:/a:redhat:openstack:17.1::el8
cpe:/a:redhat:openstack:17.1::el9
Vendors & Products Redhat openstack
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.14::el8
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift_ironic:4.15::el9
Type Values Removed Values Added
First Time appeared Redhat openshift Ironic
CPEs cpe:/a:redhat:openshift_ironic:4.12::el9
Vendors & Products Redhat openshift Ironic
Type Values Removed Values Added
First Time appeared Redhat
Redhat openshift
CPEs cpe:/a:redhat:openshift:4.16::el9
Vendors & Products Redhat
Redhat openshift
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 21, 2025, 6:03 PM
Reserved
Apr 30, 2024, 6:56 AM
Status
Analyzed
Published
May 6, 2024, 3:15 PM
Modified
Jun 17, 2026, 7:32 AM
Severity
Important
Public date
May 6, 2024, 12:00 AM