漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Outline: Zip Extraction Path Escape via PATH_MAX Truncation in Collection Import
Vulnerability Description
Outline is a service that allows for collaborative documentation. Prior to 1.7.0, ZipHelper.extract computes the extraction path for each entry by passing a full filesystem path through trimFileAndExt, a filename helper that calls path.basename on its input when truncating. When a zip entry's nested path is long enough to push the joined filesystem path over MAX_PATH_LENGTH (4096 bytes), trimFileAndExt silently drops all directory components and returns a bare filename. fs.createWriteStream then opens the file relative to the process working directory instead of inside the extraction sandbox, and the escaped file persists after import cleanup because cleanupExtractedData only removes the temporary extraction directory. This vulnerability is fixed in 1.7.0.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:N/I:H/A:H
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Outline 路径遍历漏洞
Vulnerability Description
Outline是Outline开源的一个知识库。 Outline 1.7.0之前版本存在路径遍历漏洞,该漏洞源于ZipHelper.extract在计算提取路径时通过trimFileAndExt传递完整文件系统路径,当zip条目的嵌套路径足够长时,trimFileAndExt静默丢弃所有目录组件并返回裸文件名,导致文件在进程工作目录而非提取沙箱内打开,且转义文件在导入清理后持续存在。
CVSS Information
N/A
Vulnerability Type
N/A