Access Control Bypass Affecting tauri package, versions >=1.4.0 <1.4.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.21% (60th 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 Access Control Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-TAURI-5730784
  • published22 Jun 2023
  • disclosed21 Jun 2023
  • credittillmann-crabnebula, chip-crabnebula

Introduced: 21 Jun 2023

CVE-2023-34460  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade tauri to version 1.4.1 or higher.

Overview

Affected versions of this package are vulnerable to Access Control Bypass due to a regression on the filesystem scope check for dotfiles on Linux and macOS.

Previously dotfiles (eg. $HOME/.ssh/) were not implicitly allowed by the glob wildcard scopes (eg. $HOME/*), but regression was introduced when a configuration option for this behavior was implemented, and dotfiles were implicitly allowed.

Note: Only Tauri applications using wildcard scopes in the fs endpoint are affected. Only macOS and Linux systems are affected.

CVSS Scores

version 3.1