CVE-2024-24579
Last modified
CVE-2024-24579 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.39% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Anchore | Stereoscope | < 0.0.1 |
References
- https://github.com/anchore/stereoscope/security/advisories/GHSA-hpxr-w9w7-g4gvThird Party Advisory
- https://github.com/anchore/stereoscope/security/advisories/GHSA-hpxr-w9w7-g4gvThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-24579?
How severe is CVE-2024-24579?
How do I fix CVE-2024-24579?
Are you affected by CVE-2024-24579?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
