CVE-2022-46171: Tauri vulnerable to path traversal
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 Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2022-46171?
CVE-2022-46171 is a vulnerability in the Tauri framework that allows the exposure of subfolder content through filesystem glob pattern wildcards.
What software versions are affected by CVE-2022-46171?
The affected software versions include Tauri 1.0.0 to 1.0.8, Tauri 1.1.0 to 1.1.3, Tauri 1.2.0 to 1.2.3, Tauri 2.0.0-alpha0, and Tauri 2.0.0-alpha1.
How can CVE-2022-46171 be exploited?
CVE-2022-46171 can be exploited by using filesystem glob pattern wildcards * and ? in file paths to unintentionally expose subfolder content.
What is the severity of CVE-2022-46171?
CVE-2022-46171 has a severity rating of 7.7 (High).
How can I fix CVE-2022-46171?
To fix CVE-2022-46171, update your Tauri framework to a version that has the vulnerability patched, such as the versions mentioned in the affected software list.