CVE-2023-34460: Tauri vulnerable to Regression on Filesystem Scope Checks for Dotfiles
4.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.19185%
CWE
Published
6/21/2023
Updated
11/7/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| tauri | rust | = 1.4.0 | 1.4.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from a flipped boolean in the require_literal_leading_dot configuration handling. The commit diff shows the default value for Unix systems was incorrectly set to false in 1.4.0 (vulnerable) and corrected to true in 1.4.1. The Scope::new function in fs.rs implements this configuration, controlling whether glob patterns match dotfiles. The incorrect default allowed implicit access to hidden files via wildcards, violating security expectations for Unix-like systems.