CVE-2024-49766

Source
https://cve.org/CVERecord?id=CVE-2024-49766
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49766.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-49766
Aliases
Downstream
Related
Published
2024-10-25T19:22:36.380Z
Modified
2026-04-10T05:18:02.499134Z
Severity
  • 6.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Werkzeug safe_join not safe on Windows
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49766.json",
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

Git / github.com/pallets/werkzeug

Affected ranges

Type
GIT
Repo
https://github.com/pallets/werkzeug
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*
0.1
0.10
0.11
0.12
0.13
0.14
0.15.0
0.2
0.3
0.4
0.4.1
0.6
0.6.1
0.6.2
0.7
0.8
0.9
1.*
1.0.0
1.0.0rc1
2.*
2.0.0
2.0.0rc1
2.0.0rc2
2.0.0rc3
2.0.0rc4
2.0.0rc5
2.1.0
2.2.0
2.2.0a1
3.*
3.0.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49766.json"