Information Exposure Affecting tauri package, versions >=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


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.51% (66th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Information Exposure vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-TAURI-3180449
  • published23 Dec 2022
  • disclosed22 Dec 2022
  • creditUnknown

Introduced: 22 Dec 2022

CVE-2022-46171  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade tauri to version 1.0.8, 1.1.3, 1.2.3, 2.0.0-alpha.2 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure such that the filesystem glob pattern wildcards *, ?, and [...] match file path literals and leading dots by default, which unintentionally exposes sub folder content of allowed paths. Example: The fs scope $HOME/*.key would also allow $HOME/.ssh/secret.key to be read even though it is in a sub directory of $HOME and is inside a hidden folder.

Note: Scopes without the wildcards are not affected. As ** allows for sub directories the behavior there is also as expected.

CVSS Base Scores

version 3.1