CVE-2022-39215
`tauri`'s `readDir` endpoint allows possible enumeration outside of filesystem scope
5.8
MEDIUM
CVSS 3.1
EPSS 0.77%
Description
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](https://github.com/tauri-apps/tauri/issues/4882) issue. This is corrected in [this](https://github.com/tauri-apps/tauri/pull/5123) PR by checking if a directory is a symlink before reading from it.
How to fix CVE-2022-39215
To remediate CVE-2022-39215, upgrade the affected package to a fixed version below.
- —upgrade to 1.0.6 or later
- —upgrade to 1.0.6 or later
Is CVE-2022-39215 being exploited?
Low — EPSS is 0.8%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 1.0.6
- >= 0.0.0-0, < 1.0.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N |