Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
rubyzip before 3.4.0 Path Traversal in Zip::Entry#extract via Sibling-Directory Prefix
Vulnerability Description
rubyzip versions before 3.4.0 contain a path traversal vulnerability in Zip::Entry#extract that fails to properly validate extraction paths using prefix comparison without trailing separators. Attackers can craft archive entries with names like ../upload_backup/owned.sh to write files outside the intended extraction directory into sibling paths sharing the destination prefix.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
rubyzip 路径遍历漏洞
Vulnerability Description
rubyzip是rubyzip组织的一个压缩文件处理库。 rubyzip 3.4.0之前版本存在路径遍历漏洞,该漏洞源于Zip::Entry#extract在提取路径验证中使用不带尾部分隔符的前缀比较,导致路径遍历,攻击者可利用特制归档条目(如../upload_backup/owned.sh)将文件写入预期提取目录之外共享目标前缀的兄弟路径。
CVSS Information
N/A
Vulnerability Type
N/A