CVE-2022-46171 Tauri vulnerable to path traversal
HighCVSS 7.7
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io tauri(crates.io) | >= 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 | 1.0.8, 1.1.3, 1.2.3, 2.0.0-alpha.2 | Fixed |
| tauri | = 2.0.0-alpha0; = 2.0.0-alpha1; >= 1.0.0, < 1.0.8; >= 1.1.0, < 1.1.3 +1 more | 1.0.8, 1.1.3, 1.2.3 | Fixed |
| 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 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io tauri(crates.io) | >= 1.0.0, < 1.0.8 | 1.0.8 |
| crates.io tauri(crates.io) | >= 1.1.0, < 1.1.3 | 1.1.3 |
| crates.io tauri(crates.io) | >= 1.2.0, < 1.2.3 | 1.2.3 |
| crates.io tauri(crates.io) | >= 2.0.0-alpha.0, < 2.0.0-alpha.2 | 2.0.0-alpha.2 |
| tauri-apps tauri | = >= 1.0.0, < 1.0.8 | No fix listed |
| tauri-apps tauri | = >= 1.1.0, < 1.1.3 | No fix listed |
| tauri-apps tauri | = >= 1.2.0, < 1.2.3 | No fix listed |
| tauri-apps tauri | = >= 2.0.0-alpha.0, < 2.0.0-alpha.2 | No fix listed |
| tauri | >= 1.0.0, < 1.0.8 | 1.0.8 |
| tauri | >= 1.1.0, < 1.1.3 | 1.1.3 |
| tauri | >= 1.2.0, < 1.2.3 | 1.2.3 |
| tauri | = 2.0.0-alpha0 | No fix listed |
| tauri | = 2.0.0-alpha1 | No fix listed |
References
- https://github.com/tauri-apps/tauri/security/advisories/GHSA-6mv3-wm7j-h4w5 exploit third-party-advisory vendor-advisory
- github.com patch
- https://github.com/tauri-apps/tauri/commit/72389b00d7b495ffd7750eb1e75a3b8537d07cf3 patch third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/tauri-apps/tauri/commit/f0602e7c294245ab6ef6fbf2a976ef398340ef58 patch third-party-advisory
- github.com
- github.com product