漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Instance template path traversal allows arbitrary host file write as root
Vulnerability Description
A path traversal vulnerability in LXD's instance template processing allows an attacker with container edit permissions, or any user launching a crafted image, to overwrite arbitrary files on the host system as root. When processing target template paths specified in metadata.yaml, LXD validates the path against a confined os.Root directory handle but subsequently opens and creates the file using os.Create with an unconfined string path. This discrepancy between path resolution checks and file creation allows an attacker to escape directory confinement, overwrite root-owned host files, and achieve host root code execution.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Canonical lxd 路径遍历漏洞
Vulnerability Description
Canonical LXD是英国Canonical公司开源的一款基于Linux系统用于管理应用程序的容器。 Canonical lxd 存在路径遍历漏洞,该漏洞源于实例模板处理过程中,对metadata.yaml中指定的目标模板路径,LXD使用受限的os.Root目录句柄验证路径,但随后使用未受限的字符串路径通过os.Create打开并创建文件,导致路径解析检查与文件创建不一致,攻击者可逃逸目录限制,以root权限覆盖主机上的任意文件,并可能实现主机root代码执行。
CVSS Information
N/A
Vulnerability Type
N/A