werkzeug
Affected
- introduced
0, fixed3.0.6(ecosystem)
Fixed versions
3.0.6
Fix
- Fixed version
3.0.6pip install --upgrade werkzeug==3.0.6
Advisory
Also known as: CVE-2024-49766, GHSA-f9vj-2wh5-fj8j
Werkzeug safe_join not safe on Windows
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.
Not rated by the source.
0, fixed 3.0.6 (ecosystem)3.0.6
3.0.6pip install --upgrade werkzeug==3.0.6Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0