要点
- CVE-2024-49766 是影响 werkzeug, werkzeug (palletsprojects) 的中危 (CVSS 5.3)漏洞。
- 未来 30 天内被利用的概率(EPSS):0.78%,高于 55.8% 的漏洞。
- 修复:升级到 3.0.6 或更高版本。
| Package | Affected versions | Patched versions |
|---|
| werkzeug PyPI | < 3.0.6
| 3.0.6
|
| werkzeug | < 3.0.6
| 3.0.6
|
Description
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.
NVD description
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free