Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-41874— Tauri Filesystem Scope can be Partially Bypassed

Quick assessment

Affected
tauri-apps tauri
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Tauri是Tauri开源的一个使用 Web 前端构建更小、更快、更安全的桌面应用程序。 Tauri 1.0.7之前的版本和1.1.2版本存在安全漏洞,该漏洞源于其对文件对话框和拖放功能选择的路径中特殊字符的转义不正确导致攻击者可以部分绕过路径范围定义。

CVSS 2.6 · Low EPSS 0.45% · P38
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-41874

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Tauri Filesystem Scope can be Partially Bypassed
Source: CVE Program / CVE List V5
Vulnerability Description
Tauri is a framework for building binaries for all major desktop platforms. In versions prior to 1.0.7 and 1.1.2, Tauri is vulnerable to an Incorrectly-Resolved Name. Due to incorrect escaping of special characters in paths selected via the file dialog and drag and drop functionality, it is possible to partially bypass the `fs` scope definition. It is not possible to traverse into arbitrary paths, as the issue is limited to neighboring files and sub folders of already allowed paths. The impact differs on Windows, MacOS and Linux due to different specifications of valid path characters. This bypass depends on the file picker dialog or dragged files, as user selected paths are automatically added to the allow list at runtime. A successful bypass requires the user to select a pre-existing malicious file or directory during the file picker dialog and an adversary controlled logic to access these files. The issue has been patched in versions 1.0.7, 1.1.2 and 1.2.0. As a workaround, disable the dialog and fileDropEnabled component inside the tauri.conf.json.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
将资源暴露给错误范围
Source: CVE Program / CVE List V5
Vulnerability Title
Tauri 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Tauri是Tauri开源的一个使用 Web 前端构建更小、更快、更安全的桌面应用程序。 Tauri 1.0.7之前的版本和1.1.2版本存在安全漏洞,该漏洞源于其对文件对话框和拖放功能选择的路径中特殊字符的转义不正确导致攻击者可以部分绕过路径范围定义。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
tauri-apps tauri >= 1.0.0, <1.0.7 -

II. Public POCs for CVE-2022-41874

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-41874

登录查看更多情报信息。

Vendor Advisories for CVE-2022-41874 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-41874

No comments yet


Leave a comment