漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
aqua: Archive extraction in aqua follows attacker-planted symlinks, allowing writes outside the install directory
Vulnerability Description
aqua is a declarative command-line version manager written in Go. Prior to 2.60.1, pkg/unarchive/archives.go in the handler.HandleFile method calls os.Symlink with archives.FileInfo.LinkTarget without verifying that the target remains under the extraction destination. A later regular-file entry at the same archive path is opened with OpenFile using O_CREATE and O_WRONLY, which follows the attacker-planted symlink. A malicious or compromised package archive can therefore write attacker-controlled bytes outside aqua's extraction directory with the privileges of the user running aqua, potentially overwriting shell startup files, tool configuration, or writable executable paths. This issue is fixed in version 2.60.1.
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:L
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
aquaproj aqua 路径遍历漏洞
Vulnerability Description
aquaproj aqua是aquaproj公司开源的一款用 Go 语言编写的声明式 CLI 版本管理器。 aquaproj aqua 2.60.1之前版本存在安全漏洞,该漏洞源于未验证符号链接目标是否在提取目录内,可能导致攻击者在提取目录外写入受控字节,覆盖Shell启动文件、工具配置或可写可执行路径。
CVSS Information
N/A
Vulnerability Type
N/A