CVE-2024-24579: stereoscope vulnerable to tar path traversal when processing OCI tar archives
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.17291%
CWE
Published
1/31/2024
Updated
2/2/2024
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/anchore/stereoscope | go | < 0.0.1 | 0.0.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description explicitly lists these three components as vulnerable entry points. The commit diff shows UntarToDirectory lacked path traversal checks (no 'strings.HasPrefix' validation) prior to patching. The TarballImageProvider and Image.Read functions are architectural parents that would utilize this vulnerable untarring logic when processing OCI archives, as indicated in both the advisory and CVE description.