Vulnerability · Published Dec 23, 2022 · Assigned by GitHub_M
CVE-2022-46171Tauri vulnerable to path traversal
Medium 6.8
In plain English
A medium-severity path traversal in tauri from tauri-apps. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities).
Official description
Tauri is a framework for building binaries for all major desktop platforms. The filesystem glob pattern wildcards `*`, `?`, and `[...]` match file path literals and leading dots by default, which unintentionally exposes sub folder content of allowed paths. Scopes without the wildcards are not affected. As `**` allows for sub directories the behavior there is also as expected. The issue has been patched in the latest release and was backported into the currently supported 1.x branches. There are no known workarounds at the time of publication.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| tauri-apps | tauri | >= 1.0.0, < 1.0.8>= 1.1.0, < 1.1.3>= 1.2.0, < 1.2.3>= 2.0.0-alpha.0, < 2.0.0-alpha.2 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N