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
oras-go: file store write outside workingDir via symlink traversal
Vulnerability Description
oras-go is a Go library for managing OCI artifacts. Prior to 2.6.1, resolveWritePath() in content/file/file.go uses a lexical filepath.Rel check for workingDir and does not account for symlink traversal, so when AllowPathTraversalOnWrite=false an attacker-controlled blob title through ocispec.AnnotationTitle such as out/pwn.txt can follow a workingDir symlink out -> /some/outside/dir and cause pushFile() to create /some/outside/dir/pwn.txt outside workingDir. This issue is fixed in version 2.6.1.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Vulnerability Type
文件名或路径的外部可控制
Vulnerability Title
oras-project oras-go 输入验证错误漏洞
Vulnerability Description
oras-project oras-go是oras-project组织的一个基于OCI标准的内容分发库软件。 oras-project oras-go 2.6.1之前版本存在输入验证错误漏洞,该漏洞源于resolveWritePath()函数使用词法filepath.Rel检查workingDir且未考虑符号链接遍历,导致当AllowPathTraversalOnWrite=false时允许攻击者通过ocispec.AnnotationTitle控制的blob标题跟随符号链接在workingDir外创建文
CVSS Information
N/A
Vulnerability Type
N/A