Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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