
Cloud Vulnerability DB
A community-led vulnerabilities database
Werkzeug, a Web Server Gateway Interface web application library, contains a vulnerability (CVE-2024-49766) affecting Python versions below 3.11 on Windows systems. The vulnerability was discovered and disclosed on October 25, 2024, where os.path.isabs() fails to catch UNC paths like //server/share. This vulnerability specifically impacts Werkzeug's safe_join() function, which relies on this check (GitHub Advisory, NVD).
The vulnerability stems from a limitation in Python's os.path.isabs() function on Windows systems running Python versions prior to 3.11. The safe_join() function in Werkzeug relies on this check to validate paths, but due to this limitation, it can produce paths that are not safe when dealing with UNC (Universal Naming Convention) paths such as //server/share. The vulnerability has been assigned a CVSS v4.0 base score of 6.3 (Medium) with the vector string CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N. The issue is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) (GitHub Advisory, NVD).
When successfully exploited, this vulnerability could potentially allow unintended access to data through unsafe path manipulation. The impact is limited to applications running on Windows systems with Python versions below 3.11. Applications using Python 3.11 or higher, or running on non-Windows systems, are not affected by this vulnerability (GitHub Advisory, NetApp Advisory).
The vulnerability has been patched in Werkzeug version 3.0.6. Users are strongly advised to upgrade to this version to address the security issue. For systems that cannot be immediately upgraded, the primary mitigation is to ensure that the application is running on Python 3.11 or higher, or on a non-Windows operating system (GitHub Release, GitHub Advisory).
The security fix release has received positive community response, with multiple GitHub users reacting positively to the release announcement. The fix has been acknowledged and documented by major organizations including NetApp and Red Hat, who have assessed the impact on their products (GitHub Release, Red Hat Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."