漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Hugo symlink confinement bypass in os.ReadFile
Vulnerability Description
Hugo is a static site generator. From v0.123.0 through v0.163.0, Hugo's virtual filesystem is designed so that files under a mount cannot reach outside the mount tree, but a regression caused RootMappingFs.statRoot to call Stat, which follows symlinks, instead of Lstat, so a direct os.ReadFile "somefile" where somefile was a symlink pointing outside the mount would return the target's contents. This effectively let a symlink planted inside a theme or local mount read arbitrary files reachable to the user running hugo. This issue is fixed in v0.163.1.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
Vulnerability Title
GoHugo Hugo 后置链接漏洞
Vulnerability Description
gohugo hugo是gohugo团队开源的一个生成静态网站的框架。 GoHugo Hugo v0.123.0版本至v0.163.0版本存在后置链接漏洞,该漏洞源于文件系统回归导致RootMappingFs.statRoot调用Stat而非Lstat,使得符号链接指向挂载树外文件时可读取任意文件,可能导致任意文件读取。
CVSS Information
N/A
Vulnerability Type
N/A