Read the docs
TI-2024-16200 Aliases CVE-2024-24579GHSA-hpxr-w9w7-g4gv

Tar path traversal in stereoscope when processing OCI tar archives

Priority HIGH 75CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00393 33rd percentileScored 2026-11-07
Fix Fixed stereoscope (anchore): 0.0.1github.com/anchore/stereoscope (Go): 0.0.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
anchorestereoscopebefore 0.0.10.0.1Patch availableCNA
—github.com/anchore/stereoscope (Go)before 0.0.10.0.1Patch availableGHSA-hpxr-w9w7-g4gv
  • stereoscope Vendoranchore Affected before 0.0.1 Fixed in 0.0.1 Patch available CNA
  • github.com/anchore/stereoscope (Go) Vendor— Affected before 0.0.1 Fixed in 0.0.1 Patch available GHSA-hpxr-w9w7-g4gv

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:anchore:stereoscope:*:*:*:*:*:go:*:*before 0.0.1Vulnerableanchore
  • cpe:2.3:a:anchore:stereoscope:*:*:*:*:*:go:*:* Versions before 0.0.1 Vulnerable ·anchore

Remediation

  • Fix · CNA stereoscope (anchore) Fixed in 0.0.1
  • Fix · GHSA-hpxr-w9w7-g4gv github.com/anchore/stereoscope (Go) Fixed in 0.0.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-24579
  2. 2026-10-03 Alias added: GHSA-hpxr-w9w7-g4gv

References

Sources