漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
@fastify/static vulnerable to path traversal in directory listing
Vulnerability Description
@fastify/static versions 8.0.0 through 9.1.0 allow path traversal when directory listing is enabled via the list option. The dirList.path() function resolves directories outside the configured static root using path.join() without a containment check. A remote unauthenticated attacker can obtain directory listings for arbitrary directories accessible to the Node.js process, disclosing directory and file names. File contents are not disclosed. Upgrade to @fastify/static 9.1.1 to fix this issue. As a workaround, disable directory listing by removing the list option from the plugin configuration.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Fastify-Static 安全漏洞
Vulnerability Description
Fastify-Static是Fastify开源的一个插件。用于尽快提供静态文件。 Fastify-Static 8.0.0至9.1.0版本存在安全漏洞,该漏洞源于启用目录列表时存在路径遍历,可能导致泄露目录和文件名。
CVSS Information
N/A
Vulnerability Type
N/A