CVEfocus › CVE database › CVE-2024-34069

CVE-2024-34069Werkzeug's improper usage of a pathname and improper CSRF protection results in the…

CVSS 7.5 HighEPSS 5.4% (higher than 93% of CVEs)Published 2024-05-06Updated 2025-02-21Assigner: GitHub_M

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.

CWE-352

What to do

Fixed builds are available from Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
2Fix pending
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04python-werkzeugFixed3.0.1-3ubuntu0.1UBUNTU-CVE-2024-34069
Ubuntu 22.04python-werkzeugFixed2.0.2+dfsg1-1ubuntu0.22.04.2UBUNTU-CVE-2024-34069
Ubuntu 20.04python-werkzeugFixed0.16.1+dfsg1-2ubuntu0.2UBUNTU-CVE-2024-34069
Ubuntu 18.04python-werkzeugFix pending0.14.1+dfsg1-1ubuntu0.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-34069
Ubuntu 16.04python-werkzeugFix pending0.10.4+dfsg1-1ubuntu1.2+esm2 (Ubuntu Pro)UBUNTU-CVE-2024-34069
Debian 14python-werkzeugFixed3.0.3-1DEBIAN-CVE-2024-34069
Debian 13python-werkzeugFixed3.0.3-1DEBIAN-CVE-2024-34069
Debian 12python-werkzeugFixed2.2.2-3+deb12u1DEBIAN-CVE-2024-34069
Red Hat Enterprise Linux 8python3-werkzeugWill not fix
Will not fix
Red Hat Enterprise Linux 7python-werkzeugWill not fix
Out of support scope
PyPI librarywerkzeugFixed3.0.3PYSEC-2026-2043

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.