漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Hugo before v0.165.0 Insufficient Permission Restriction via TailwindCSS
Vulnerability Description
Hugo is a static site generator. From v0.161.0, Hugo executes Node tools under Node's permission model, but TailwindCSS — included in the default security.exec.allow list — requires a highly permissive configuration (--allow-addons, --allow-child-process, --allow-worker). As a result, the restrictions intended by the fix for GHSA-x597-9fr4-5857 could still be bypassed, allowing a Node tool invoked during a build to read and write files outside the project's working directory. Affected versions are those after v0.43; the issue was fixed in v0.165.0 by removing tailwindcss from the default security.exec.allow list. Users who do not use TailwindCSS, or who only build trusted sites, are not affected. As a workaround, users can define a restrictive security.exec.allow list in hugo.toml.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
带着不必要的权限执行
Vulnerability Title
Gohugoio Hugo 权限许可和访问控制问题漏洞
Vulnerability Description
Gohugoio Hugo是Gohugoio团队开源的一款静态网站生成器。 Gohugoio Hugo 0.165.0之前版本存在权限许可和访问控制问题漏洞,该漏洞源于默认 security.exec.allow 列表包含 TailwindCSS,需要高度宽松的配置,导致限制可被绕过,允许构建期间调用的 Node 工具读取和写入项目工作目录之外的文件。
CVSS Information
N/A
Vulnerability Type
N/A