Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-24579— Tar path traversal in stereoscope when processing OCI tar archives

Quick assessment

Affected
anchore stereoscope
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

stereoscope是用于处理容器映像内容、图层文件树和压缩文件树的库。 stereoscope 0.0.1之前版本存在路径遍历漏洞,该漏洞源于当 Stereoscope 尝试取消存档内容时,将导致写入取消存档临时目录之外的路径。

CVSS 5.3 · Medium EPSS 0.39% · P31

Possible ATT&CK Techniques 1 AI

T1030 · Data Transfer Size Limits
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-24579

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

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
Tar path traversal in stereoscope when processing OCI tar archives
Source: CVE Program / CVE List V5
Vulnerability Description
stereoscope is a go library for processing container images and simulating a squash filesystem. Prior to version 0.0.1, it is possible to craft an OCI tar archive that, when stereoscope attempts to unarchive the contents, will result in writing to paths outside of the unarchive temporary directory. Specifically, use of `github.com/anchore/stereoscope/pkg/file.UntarToDirectory()` function, the `github.com/anchore/stereoscope/pkg/image/oci.TarballImageProvider` struct, or the higher level `github.com/anchore/stereoscope/pkg/image.Image.Read()` function express this vulnerability. As a workaround, if you are using the OCI archive as input into stereoscope then you can switch to using an OCI layout by unarchiving the tar archive and provide the unarchived directory to stereoscope.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5
Vulnerability Title
stereoscope 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
stereoscope是用于处理容器映像内容、图层文件树和压缩文件树的库。 stereoscope 0.0.1之前版本存在路径遍历漏洞,该漏洞源于当 Stereoscope 尝试取消存档内容时,将导致写入取消存档临时目录之外的路径。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
anchore stereoscope < 0.0.1 -

II. Public POCs for CVE-2024-24579

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-24579

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-24579 (1)

Vendor Advisories for CVE-2024-24579 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-24579

No comments yet


Leave a comment