Live threats

All CVEs / Anchore

CVE-2024-24579Anchore Stereoscope

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
0.5%
probability of exploitation in 30 days · percentile 36
Auth required
No
Published
Jan 31, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Stereoscope.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/anchore/stereoscope < 0.0.1 0.0.1 go get github.com/anchore/stereoscope@v0.0.1
Go github.com/anchore/stereoscope < 0.0.1 0.0.1 go get github.com/anchore/stereoscope@v0.0.1

Per OSV / GitHub Advisories (GHSA-hpxr-w9w7-g4gv, GO-2024-2490). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
anchorestereoscope< 0.0.1

Official sources

References

Links published by the sources. Open them with care.