CVE-2022-46171

Summary

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

VendorProductVersion RangeStatus
tauri-appstauri>= 1.0.0, < 1.0.8affected
tauri-appstauri>= 1.1.0, < 1.1.3affected
tauri-appstauri>= 1.2.0, < 1.2.3affected
tauri-appstauri>= 2.0.0-alpha.0, < 2.0.0-alpha.2affected

Weaknesses

  • CWE-22: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

ADP Enrichment

CVE Program Container

Additional References

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: no
    • Technical Impact: partial

References