Unknown · Stereoscope · CVE-2024-24579
**Name of the Vulnerable Software and Affected Versions**
stereoscope versions prior to 0.0.1
**Description**
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. This issue is related to the use of the `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.
**Recommendations**
As a temporary workaround, consider switching to using an OCI layout by unarchiving the tar archive and providing the unarchived directory to stereoscope.
For versions prior to 0.0.1, update to version 0.0.1 to resolve the issue.