Vulnerability Information
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
Vitest: Arbitrary file can be read and executed when Vitest UI server is listening
Vulnerability Description
Vitest is a testing framework powered by Vite. Prior to 3.2.5 and 4.1.0, the Vitest UI/API server on Windows used isFileServingAllowed incorrectly for /__vitest_attachment__, allowing \\?\\..\\ path traversal to read files outside the project; exposed API write and rerun features such as saveTestFile and rerun could also allow arbitrary script execution. This issue is fixed in versions 3.2.5 and 4.1.0.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Vitest 路径遍历漏洞
Vulnerability Description
Vitest vitest是Vitest公司的一款快速的前端测试框架。 Vitest 3.2.5之前版本和4.1.0之前版本存在路径遍历漏洞,该漏洞源于isFileServingAllowed使用不当和路径遍历问题,可能导致读取项目外部文件以及通过暴露的API功能执行任意脚本。
CVSS Information
N/A
Vulnerability Type
N/A