漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Hugo: Node tool execution allows file system access outside the project directory
Vulnerability Description
Hugo is a static site generator. From 0.43 to before 0.161.0, when building a Hugo site that uses Node-based asset pipelines (PostCSS, Babel, TailwindCSS), Hugo invoked the configured Node tools without restrictions on file system access. As a result, executing hugo against an untrusted site could allow code running through these tools to read or write files outside the project's working directory. Users who do not use PostCSS, Babel, or TailwindCSS, or who only build trusted sites, are not affected. This vulnerability is fixed in 0.161.0.
CVSS Information
N/A
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Hugo 路径遍历漏洞
Vulnerability Description
Hugo是Gohugoio社区的一款基于Go语言用于快速生成静态站点的框架。 Hugo 0.43至0.161.0之前版本存在路径遍历漏洞,该漏洞源于调用Node工具时未限制文件系统访问,可能导致任意文件读写。
CVSS Information
N/A
Vulnerability Type
N/A