Critical Security Update for python-werkzeug: Addressing CVE-2024-34069

python-werkzeug Updated 02 Oct 2025

Summary

21/02/2025
N/A
Yes i
Unrated
Not published

DLA-4062-1: python-werkzeug - security update. Affects python-werkzeug versions < 1.0.1+dfsg1-2+deb11u2. Fixed in 1.0.1+dfsg1-2+deb11u2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

python-werkzeug is a comprehensive WSGI utility library for Python, designed to facilitate the development of web applications. It provides a range of tools for request and response handling, debugging, and URL routing. As a widely used library in the Python ecosystem, its security is paramount, especially given its integration into various web frameworks and applications.

Vulnerability Detail

The vulnerability identified as CVE-2024-34069 affects python-werkzeug versions prior to 1.0.1+dfsg1-2+deb11u2. This security flaw could allow an attacker to exploit weaknesses in the library, potentially leading to unauthorized access or manipulation of web application data. The issue arises from improper handling of certain inputs, which could be leveraged to execute malicious code or disrupt service functionality.

How To Fix

Minimum fixed version

1.0.1+dfsg1-2+deb11u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-werkzeug

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate updating is not feasible, consider implementing input validation and sanitization in your application to mitigate the risk of exploitation. Additionally, review your application's dependencies to ensure they are not inadvertently exposing vulnerabilities.

Conclusion

The python-werkzeug library has a critical vulnerability (CVE-2024-34069) that requires immediate attention. Updating to the patched version is essential to maintain the security of your web applications. Utilize tools like Vulert to monitor your dependencies for vulnerabilities effectively.

See every vulnerability recorded for python-werkzeug →

Share this vulnerability

FAQ

CVE-2024-34069 is a security vulnerability in python-werkzeug that could allow attackers to exploit weaknesses in the library, leading to unauthorized access or data manipulation.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Failing to update python-werkzeug may expose your application to potential attacks, leading to data breaches, service disruptions, or unauthorized access.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software by using a manifest file like package-lock.json.

If you cannot update immediately, ensure to implement input validation and review your application's dependencies to minimize exposure to the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for python-werkzeug.

How To Fix

Minimum fixed version

1.0.1+dfsg1-2+deb11u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-werkzeug

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback