SCA: security update for github.com/anchore/stereoscope (GHSA-hpxr-w9w7-g4gv)

critical Tenable Cloud Security Plugin ID 415881

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2024-24579)

See Also

https://github.com/advisories/GHSA-hpxr-w9w7-g4gv

Plugin Details

Severity: Critical

ID: 415881

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.58

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2024-24579

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 1/31/2024

Vulnerability Publication Date: 1/31/2024

Reference Information

CVE: CVE-2024-24579

cwe: CWE-22