Skip to content

Tauri vulnerable to Regression on Filesystem Scope Checks for Dotfiles

Moderate severity GitHub Reviewed Published Jun 21, 2023 in tauri-apps/tauri • Updated Nov 7, 2023

Package

cargo tauri (Rust)

Affected versions

= 1.4.0

Patched versions

1.4.1

Description

Impact

The 1.4.0 release includes 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 a regression was introduced when a configuration option for this behavior was implemented and dotfiles were implicitly allowed.

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

Patches

The regression has been patched on v1.4.1.

Workarounds

There are no known workarounds at this time, users should update to v1.4.1 immediately.

References

See the original advisory for more information.

For more Information

If you have any questions or comments about this advisory:

Open an issue in tauri
Email us at security@tauri.app

References

@tweidinger tweidinger published to tauri-apps/tauri Jun 21, 2023
Published to the GitHub Advisory Database Jun 21, 2023
Reviewed Jun 21, 2023
Published by the National Vulnerability Database Jun 23, 2023
Last updated Nov 7, 2023

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Adjacent
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N

EPSS score

0.169%
(54th percentile)

Weaknesses

CVE ID

CVE-2023-34460

GHSA ID

GHSA-wmff-grcw-jcfm

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.