{"id":"GHSA-hpxr-w9w7-g4gv","revision":null,"records":[{"revision":"806a0da4fa3646f19ef00e5bb99b86c4","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-24579","aliases":[],"title":"Tar path traversal in stereoscope when processing OCI tar archives","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.","state":0,"publishedAt":"2024-01-31T16:40:35.385+00:00","modifiedAt":"2024-08-23T16:26:39.05+00:00","affected":[{"ecosystem":"Vendor product","name":"stereoscope","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"anchore\",\n                    \"product\": \"stereoscope\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.0.1\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":5.3,"severity":"MEDIUM"}],"references":["https://github.com/anchore/stereoscope/security/advisories/GHSA-hpxr-w9w7-g4gv","https://github.com/anchore/stereoscope/commit/09dacab4d9ee65ee8bc7af8ebf4aa7b5aaa36204"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-24579","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-24579","identifiers":["CVE-2024-24579"]},"retained":false,"historicalAffected":[]},{"revision":"1aa02bb3436f4bd3b7a850d29919fcf3","observedAt":"2026-11-15T01:51:06.085+00:00","statement":{"source":"euvd","id":"EUVD-2024-0369","aliases":["CVE-2024-24579","GHSA-hpxr-w9w7-g4gv"],"title":"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 wr…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":5.3,"severity":null}],"references":["https://github.com/anchore/stereoscope/security/advisories/GHSA-hpxr-w9w7-g4gv","https://github.com/anchore/stereoscope/commit/09dacab4d9ee65ee8bc7af8ebf4aa7b5aaa36204"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-0369","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jan 31, 2024, 4:40:35 PM","dateUpdated":"Aug 23, 2024, 4:26:39 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2024-0369","identifiers":["EUVD-2024-0369","CVE-2024-24579","GHSA-hpxr-w9w7-g4gv"]},"retained":false,"historicalAffected":[]},{"revision":"304d2377483448069a747d74f7e67bd5","observedAt":"2026-10-24T23:17:28.568+00:00","statement":{"source":"nvd","id":"CVE-2024-24579","aliases":[],"title":"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 wr…","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.","state":0,"publishedAt":"2024-01-31T17:15:40.17+00:00","modifiedAt":"2026-06-17T07:14:38.89+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":5.3,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"severity":"CRITICAL"}],"references":["https://github.com/anchore/stereoscope/commit/09dacab4d9ee65ee8bc7af8ebf4aa7b5aaa36204","https://github.com/anchore/stereoscope/security/advisories/GHSA-hpxr-w9w7-g4gv"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-24579","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-22"],"productCriteria":["cpe:2.3:a:anchore:stereoscope:*:*:*:*:*:go:*:*"],"sourceDates":{"published":"2024-01-31T17:15:40.170","lastModified":"2026-06-17T07:14:38.890"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2024-24579","identifiers":["CVE-2024-24579"]},"retained":false,"historicalAffected":[]},{"revision":"95bea7685e5649b899650354b9b375c3","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-hpxr-w9w7-g4gv","aliases":["CVE-2024-24579","GO-2024-2490"],"title":"stereoscope vulnerable to tar path traversal when processing OCI tar archives","description":"### Impact\nIt 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.\n\n### Patches\nPatched in v0.0.1\n\n### Workarounds\nIf you are using the OCI archive as input into stereoscope then you can switch to using an [OCI layout](https://github.com/opencontainers/image-spec/blob/main/image-layout.md) by unarchiving the tar archive and provide the unarchived directory to stereoscope.\n\n### References\n- Patch PR https://github.com/anchore/stereoscope/pull/214","state":0,"publishedAt":"2024-01-31T22:39:17+00:00","modifiedAt":"2026-09-10T03:50:00.2344958+00:00","affected":[{"ecosystem":"Go","name":"github.com/anchore/stereoscope","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.0.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/anchore/stereoscope/security/advisories/GHSA-hpxr-w9w7-g4gv","https://nvd.nist.gov/vuln/detail/CVE-2024-24579","https://github.com/anchore/stereoscope/commit/09dacab4d9ee65ee8bc7af8ebf4aa7b5aaa36204","https://github.com/anchore/stereoscope"],"sourceUrl":"https://github.com/advisories/GHSA-hpxr-w9w7-g4gv","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-hpxr-w9w7-g4gv","identifiers":["GHSA-hpxr-w9w7-g4gv","CVE-2024-24579","GO-2024-2490"]},"retained":false,"historicalAffected":[]},{"revision":"de612bce93e34e739919e0994b8a08ca","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2024-2490","aliases":["CVE-2024-24579","GHSA-hpxr-w9w7-g4gv"],"title":"Path traversal in github.com/anchore/stereoscope","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.","state":0,"publishedAt":"2024-02-13T18:23:23+00:00","modifiedAt":"2026-02-04T02:51:05.189073+00:00","affected":[{"ecosystem":"Go","name":"github.com/anchore/stereoscope","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.0.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/anchore/stereoscope/security/advisories/GHSA-hpxr-w9w7-g4gv","https://github.com/anchore/stereoscope/commit/09dacab4d9ee65ee8bc7af8ebf4aa7b5aaa36204"],"sourceUrl":"https://osv.dev/vulnerability/GO-2024-2490","license":"OSV · upstream source license applies","key":"osv:GO-2024-2490","identifiers":["GO-2024-2490","CVE-2024-24579","GHSA-hpxr-w9w7-g4gv"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-16T18:47:10.8457019+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-16T18:47:10.8457019+00:00","lastSuccessAt":"2026-11-16T18:47:11.0716622+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:11.071663+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-6be044d0e08779dadd136f949a536de4047af96f5d7bceb7e190ecffbb8f18ca-7b226a5dbb956f6efa40aa530e16b552d2766bd2cfeae2c8f66152d783ec78d1","complete":true,"records":426117,"lastAttemptAt":"2026-11-16T18:44:56.949882+00:00","lastSuccessAt":"2026-11-16T18:44:56.8623544+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:44:56.949882+00:00","snapshotPublishedAt":"2026-11-16T18:30:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-ffcf524d3cbf41d2a3a6fa937f216dd0","complete":true,"records":13830,"lastAttemptAt":"2026-11-16T18:47:40.7926227+00:00","lastSuccessAt":"2026-11-16T18:47:40.774+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:40.774+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13883,"expectedIdentifiers":13883,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-16T18:47:10.8457019+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-16T18:47:10.8457019+00:00","lastSuccessAt":"2026-11-16T18:47:11.0725273+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:11.0725276+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-85ccba0af8894ad495cf1ce959f9030f","complete":false,"records":13842,"lastAttemptAt":"2026-11-16T18:47:38.4901027+00:00","lastSuccessAt":"2026-11-16T18:47:38.474+00:00","error":"209 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-16T18:47:38.474+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13574,"expectedIdentifiers":13883,"failedIdentifiers":209},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-16T18:47:10.7901587+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:10.7901587+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-16T18:44:57.0142322+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:44:57.0142322+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-16T18:47:10.8068878+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:10.8068878+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-a545a204cb7e029142fca3977ea456f4a00759bf811f31b6042225ef52bf5867","complete":true,"records":232531,"lastAttemptAt":"2026-11-16T18:47:10.4632154+00:00","lastSuccessAt":"2026-11-16T18:47:09.141739+00:00","error":null,"lastVerifiedAt":"2026-11-16T18:47:10.4632154+00:00","snapshotPublishedAt":"2026-11-16T18:33:19+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}