Miggo Logo

CVE-2023-34460: Tauri vulnerable to Regression on Filesystem Scope Checks for Dotfiles

4.8

CVSS Score
3.1

Basic Information

EPSS Score
0.19185%
Published
6/21/2023
Updated
11/7/2023
KEV Status
No
Technology
TechnologyRust

Technical Details

CVSS Vector
CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
taurirust= 1.4.01.4.1

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot 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.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

### Imp**t T** *.*.* r*l**s* in*lu**s * r**r*ssion on t** *il*syst*m s*op* ****k *or *ot*il*s on Linux *n* m**OS. Pr*viously *ot*il*s (**. `$*OM*/.ss*/`) w*r* not impli*itly *llow** *y t** *lo* wil***r* s*op*s (**. `$*OM*/*`), *ut * r**r*ssion w*s i

Reasoning

T** vuln*r**ility st*mm** *rom * *lipp** *ool**n in t** `r*quir*_lit*r*l_l***in*_*ot` *on*i*ur*tion **n*lin*. T** *ommit *i** s*ows t** ****ult v*lu* *or Unix syst*ms w*s in*orr**tly s*t to `**ls*` in *.*.* (vuln*r**l*) *n* *orr**t** to `tru*` in *.*