9.8

CVE-2024-24579: anchore stereoscope Path Traversal

CVSS: 9.8v3.1CriticalModified
AliasesCGA-2g77-m6x3-r9qvCGA-4w5w-6vpc-482mCGA-64x7-xq69-gxr7
Published 31-01-2024Last modified 23-08-2024

Vulnerability summary

CVE-2024-24579 is a critical (CVSS 9.8) Path Traversal vulnerability in anchore stereoscope. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 32% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
0.39%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 7

Timeline

  1. 31-01-2024
    PublishedVulnerability first disclosed.
  2. 23-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.39%

Chance of exploitation in the next 30 days

Percentile

32%

Versus all other CVEs

30-day change

0.00 pp

From 0.39% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.39%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard6 products
  • grype< 0.74.4-r0
  • k9s< 0.31.8-r0
  • kubescape< 3.0.3-r7
  • syft< 0.103.1-r0
  • wolfictl< 0.14.13-r0
Wolfi6 products
  • grype< 0.74.4-r0
  • k9s< 0.31.8-r0
  • kubescape< 3.0.3-r7
  • syft< 0.103.1-r0
  • wolfictl< 0.14.13-r0
Anchore1 product
Github.com/anchore1 product
  • stereoscope< 0.0.1

4 vendors · 14 products

References

5 links