Path Traversal in Tauri
CVE-2022-46171
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.010 (61.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 62nd percentile — 61.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.010 · newest: 0.010 · change: 0.000
Affected products
- Tauri — versions 2.0.0
- Tauri-Apps Tauri — versions >= 1.0.0, < 1.0.8, >= 1.1.0, < 1.1.3, >= 1.2.0, < 1.2.3
Weakness classification (CWE)
References
- github.com/tauri-apps/tauri/security/advisories/GHSA-6mv3-wm7j-h4w5 (Exploit, Third Party Advisory)
- github.com/tauri-apps/tauri/commit/72389b00d7b495ffd7750eb1e75a3b8537d07cf3 (Patch, Third Party Advisory)
- github.com/tauri-apps/tauri/commit/f0602e7c294245ab6ef6fbf2a976ef398340ef58 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-46171?
- CVE-2022-46171 is a medium-severity vulnerability in Tauri, classified under Path Traversal. CVSS score: 6.8/10. Published 2022-12-23.
- How severe is CVE-2022-46171?
- Medium severity. CVSS v3 base score is 6.8 out of 10.