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.
History

Sat, 26 Oct 2024 01:30:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N'}

threat_severity

Moderate


Fri, 25 Oct 2024 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 25 Oct 2024 19:30:00 +0000

Type Values Removed Values Added
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.
Title Werkzeug safe_join not safe on Windows
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 6.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2024-10-25T19:22:36.380Z

Updated: 2024-10-25T20:08:55.985Z

Reserved: 2024-10-18T13:43:23.457Z

Link: CVE-2024-49766

cve-icon Vulnrichment

Updated: 2024-10-25T20:08:52.294Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-10-25T20:15:04.410

Modified: 2024-10-28T13:58:09.230

Link: CVE-2024-49766

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-10-25T19:22:36Z

Links: CVE-2024-49766 - Bugzilla