漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Hugo: Symlink confinement bypass in resources.Get
Vulnerability Description
Hugo is a static site generator. From 0.123.0 to 0.161.1, a regression made RootMappingFs.statRoot use Stat (follows symlinks) instead of Lstat , so a direct resources.Get of a symlink pointing outside its mount returned the target's contents — letting a symlink planted in a local mount (e.g. a vendored themes/ theme) read arbitrary files accessible to the Hugo user. Go-module themes from GitHub (symlinks stripped) and directory walks were unaffected. Fixed in 0.162.0.
CVSS Information
N/A
Vulnerability Type
在文件访问前对链接解析不恰当(链接跟随)
Vulnerability Title
GoHugo Hugo 后置链接漏洞
Vulnerability Description
gohugo hugo是gohugo团队开源的一个生成静态网站的框架。 GoHugo Hugo 0.123.0版本至0.161.1版本存在后置链接漏洞,该漏洞源于RootMappingFs.statRoot使用Stat(跟踪符号链接)而不是Lstat,可能导致本地挂载中符号链接读取任意文件。
CVSS Information
N/A
Vulnerability Type
N/A