RustSec Advisory Database
RUSTSEC-2022-0088
`tauri`'s `readDir` endpoint allows possible enumeration outside of filesystem scope
Details
It is possible for readDir to incorrectly enumerate files from a symlinked directory if called recursively when specifying an empty string for the dir parameter as outlined in this issue.
This is corrected in this PR by checking if a directory is a symlink before reading from it.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | tauri | From 0.0.0-0 before 1.0.6 (fixed in 1.0.6) |