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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-39215— The readDir Endpoint Scope can be Bypassed With Symbolic Links in Tauri

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.6之前版本存在后置链接漏洞,该漏洞源于递归调用readDir时缺少规范化,有可能在定义的fs范围之外显示目录列表。

CVSS 8.3 · High EPSS 1.00% · P61
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-39215

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
The readDir Endpoint Scope can be Bypassed With Symbolic Links in Tauri
Source: CVE Program / CVE List V5
Vulnerability Description
Tauri is a framework for building binaries for all major desktop platforms. Due to missing canonicalization when `readDir` is called recursively, it was possible to display directory listings outside of the defined `fs` scope. This required a crafted symbolic link or junction folder inside an allowed path of the `fs` scope. No arbitrary file content could be leaked. The issue has been resolved in version 1.0.6 and the implementation now properly checks if the requested (sub) directory is a symbolic link outside of the defined `scope`. Users are advised to upgrade. Users unable to upgrade should disable the `readDir` endpoint in the `allowlist` inside the `tauri.conf.json`.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
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.6之前版本存在后置链接漏洞,该漏洞源于递归调用readDir时缺少规范化,有可能在定义的fs范围之外显示目录列表。
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.6 -

II. Public POCs for CVE-2022-39215

# 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-39215

登录查看更多情报信息。

Patches & Fixes for CVE-2022-39215 (2)

Vendor Advisories for CVE-2022-39215 (1)

Other References for CVE-2022-39215 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-39215

No comments yet


Leave a comment