漏洞信息
# Vite 存在一个通过无效 `request-target` 绕过的 `server.fs.deny` 漏洞
N/A
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
Vite has an `server.fs.deny` bypass with an invalid `request-target`
漏洞描述信息
Vite is a frontend tooling framework for javascript. Prior to 6.2.6, 6.1.5, 6.0.15, 5.4.18, and 4.5.13, the contents of arbitrary files can be returned to the browser if the dev server is running on Node or Bun. HTTP 1.1 spec (RFC 9112) does not allow # in request-target. Although an attacker can send such a request. For those requests with an invalid request-line (it includes request-target), the spec recommends to reject them with 400 or 301. The same can be said for HTTP 2. On Node and Bun, those requests are not rejected internally and is passed to the user land. For those requests, the value of http.IncomingMessage.url contains #. Vite assumed req.url won't contain # when checking server.fs.deny, allowing those kinds of requests to bypass the check. Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) and running the Vite dev server on runtimes that are not Deno (e.g. Node, Bun) are affected. This vulnerability is fixed in 6.2.6, 6.1.5, 6.0.15, 5.4.18, and 4.5.13.
CVSS信息
N/A
漏洞类别
信息暴露
漏洞标题
Vite 信息泄露漏洞
漏洞描述信息
Vite是Vite开源的一种新型的前端构建工具。 Vite存在信息泄露漏洞,该漏洞源于任意文件内容可能被返回给浏览器。以下版本受到影响:6.2.6、6.1.5、6.0.15、5.4.18和4.5.13之前版本。
CVSS信息
N/A
漏洞类别
信息泄露