Bug 2321828 (CVE-2024-49766) - CVE-2024-49766 werkzeug: python-werkzeug: Werkzeug safe_join not safe on Windows
Summary: CVE-2024-49766 werkzeug: python-werkzeug: Werkzeug safe_join not safe on Windows
Keywords:
Status: NEW
Alias: CVE-2024-49766
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-25 20:00 UTC by OSIDB Bzimport
Modified: 2025-06-17 08:28 UTC (History)
38 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-25 20:00:58 UTC
Werkzeug is a Web Server Gateway Interface web application library. On Python < 3.11 on Windows, os.path.isabs() does not catch UNC paths like //server/share. Werkzeug's safe_join() relies on this check, and so can produce a path that is not safe, potentially allowing unintended access to data. Applications using Python >= 3.11, or not using Windows, are not vulnerable. Werkzeug version 3.0.6 contains a patch.


Note You need to log in before you can comment on or make changes to this bug.