{"id":"BIT-oras-2021-21272","revision":null,"records":[{"revision":"6c0e69f7ba0042a69a2d8a0b8cff78e8","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2021-21272","aliases":[],"title":"zip slip in ORAS","description":"ORAS is open source software which enables a way to push OCI Artifacts to OCI Conformant registries. ORAS is both a CLI for initial testing and a Go Module. In ORAS from version 0.4.0 and before version 0.9.0, there is a \"zip-slip\" vulnerability. The directory support feature allows the downloaded gzipped tarballs to be automatically extracted to the user-specified directory where the tarball can have symbolic links and hard links. A well-crafted tarball or tarballs allow malicious artifact providers linking, writing, or overwriting specific files on the host filesystem outside of the user-specified directory unexpectedly with the same permissions as the user who runs `oras pull`. Users of the affected versions are impacted if they are `oras` CLI users who runs `oras pull`, or if they are Go programs, which invoke `github.com/deislabs/oras/pkg/content.FileStore`. The problem has been fixed in version 0.9.0. For `oras` CLI users, there is no workarounds other than pulling from a trusted artifact provider. For `oras` package users, the workaround is to not use `github.com/deislabs/oras/pkg/content.FileStore`, and use other content stores instead, or pull from a trusted artifact provider.","state":0,"publishedAt":"2021-01-25T18:30:15+00:00","modifiedAt":"2024-08-03T18:09:15.22+00:00","affected":[{"ecosystem":"Vendor product","name":"oras","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"oras\",\n                    \"vendor\": \"deislabs\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \">= 0.4.0, < 0.9.0\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":7.7,"severity":"HIGH"}],"references":["https://github.com/deislabs/oras/security/advisories/GHSA-g5v4-5x39-vwhx","https://github.com/deislabs/oras/commit/96cd90423303f1bb42bd043cb4c36085e6e91e8e","https://github.com/deislabs/oras/releases/tag/v0.9.0","https://pkg.go.dev/github.com/deislabs/oras/pkg/oras"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-21272","license":"CVE Program Terms of Use","key":"cve-program:CVE-2021-21272","identifiers":["CVE-2021-21272"]},"retained":false,"historicalAffected":[]},{"revision":"b6c7e378f3ae479385dfdfb7b6303ae5","observedAt":"2026-11-24T09:26:35.391+00:00","statement":{"source":"euvd","id":"EUVD-2022-0997","aliases":["CVE-2021-21272","GHSA-g5v4-5x39-vwhx"],"title":"ORAS is open source software which enables a way to push OCI Artifacts to OCI Conformant registries. ORAS is both a CLI for initial testing and a Go Module. In ORAS from version 0.4.0 and before version 0.9.0, there is a \"zip-slip\" vulnerab…","description":"ORAS is open source software which enables a way to push OCI Artifacts to OCI Conformant registries. ORAS is both a CLI for initial testing and a Go Module. In ORAS from version 0.4.0 and before version 0.9.0, there is a \"zip-slip\" vulnerability. The directory support feature allows the downloaded gzipped tarballs to be automatically extracted to the user-specified directory where the tarball can have symbolic links and hard links. A well-crafted tarball or tarballs allow malicious artifact providers linking, writing, or overwriting specific files on the host filesystem outside of the user-specified directory unexpectedly with the same permissions as the user who runs `oras pull`. Users of the affected versions are impacted if they are `oras` CLI users who runs `oras pull`, or if they are Go programs, which invoke `github.com/deislabs/oras/pkg/content.FileStore`. The problem has been fixed in version 0.9.0. For `oras` CLI users, there is no workarounds other than pulling from a trusted artifact provider. For `oras` package users, the workaround is to not use `github.com/deislabs/oras/pkg/content.FileStore`, and use other content stores instead, or pull from a trusted artifact provider.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":7.7,"severity":null}],"references":["https://github.com/deislabs/oras/security/advisories/GHSA-g5v4-5x39-vwhx","https://github.com/deislabs/oras/commit/96cd90423303f1bb42bd043cb4c36085e6e91e8e","https://github.com/deislabs/oras/releases/tag/v0.9.0","https://pkg.go.dev/github.com/deislabs/oras/pkg/oras"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-0997","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jan 25, 2021, 6:30:15 PM","dateUpdated":"Aug 3, 2024, 6:09:15 PM"},"relatedAdvisories":[{"id":"RHSA-2021:3016","title":"Red Hat Security Advisory: Red Hat Advanced Cluster Management for Kubernetes version 2.3","vulnerabilityIds":["CVE-2020-28469","CVE-2020-28500","CVE-2020-28851","CVE-2020-28852","CVE-2021-3377","CVE-2021-21272","CVE-2021-21309","CVE-2021-21321","CVE-2021-21322","CVE-2021-23337","CVE-2021-23343","CVE-2021-23346","CVE-2021-23362","CVE-2021-23364","CVE-2021-23368","CVE-2021-23369","CVE-2021-23382","CVE-2021-23383","CVE-2021-23839","CVE-2021-23840","CVE-2021-23841","CVE-2021-27292","CVE-2021-27358","CVE-2021-28092","CVE-2021-28918","CVE-2021-29418","CVE-2021-29477","CVE-2021-29478","CVE-2021-29482","CVE-2021-33502","CVE-2021-33623"]},{"id":"SUSE-SU-2022:4606-1","title":"Security update for helm","vulnerabilityIds":["CVE-2021-21272","CVE-2022-1996","CVE-2022-23524","CVE-2022-23525","CVE-2022-23526"]},{"id":"openSUSE-SU-2024:12345-1","title":"helm-3.9.4-3.1 on GA media","vulnerabilityIds":["CVE-2021-21272"]},{"id":"openSUSE-SU-2025:15779-1","title":"helm3-3.19.2-1.1 on GA media","vulnerabilityIds":["CVE-2018-16873","CVE-2018-16874","CVE-2018-16875","CVE-2021-21272","CVE-2022-1996","CVE-2022-23524","CVE-2022-23525","CVE-2022-23526","CVE-2022-36055","CVE-2023-25165","CVE-2023-25173","CVE-2024-25620","CVE-2024-26147","CVE-2024-45337","CVE-2024-45338","CVE-2025-22870","CVE-2025-22872","CVE-2025-47911","CVE-2025-53547","CVE-2025-58190"]}],"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-2022-0997","identifiers":["EUVD-2022-0997","CVE-2021-21272","GHSA-g5v4-5x39-vwhx"]},"retained":false,"historicalAffected":[]},{"revision":"1aaa1696f401462c9cc7026e0796ff91","observedAt":"2026-10-24T17:17:33.481+00:00","statement":{"source":"nvd","id":"CVE-2021-21272","aliases":[],"title":"ORAS is open source software which enables a way to push OCI Artifacts to OCI Conformant registries. ORAS is both a CLI for initial testing and a Go Module. In ORAS from version 0.4.0 and before version 0.9.0, there is a \"zip-slip\" vulnerab…","description":"ORAS is open source software which enables a way to push OCI Artifacts to OCI Conformant registries. ORAS is both a CLI for initial testing and a Go Module. In ORAS from version 0.4.0 and before version 0.9.0, there is a \"zip-slip\" vulnerability. The directory support feature allows the downloaded gzipped tarballs to be automatically extracted to the user-specified directory where the tarball can have symbolic links and hard links. A well-crafted tarball or tarballs allow malicious artifact providers linking, writing, or overwriting specific files on the host filesystem outside of the user-specified directory unexpectedly with the same permissions as the user who runs `oras pull`. Users of the affected versions are impacted if they are `oras` CLI users who runs `oras pull`, or if they are Go programs, which invoke `github.com/deislabs/oras/pkg/content.FileStore`. The problem has been fixed in version 0.9.0. For `oras` CLI users, there is no workarounds other than pulling from a trusted artifact provider. For `oras` package users, the workaround is to not use `github.com/deislabs/oras/pkg/content.FileStore`, and use other content stores instead, or pull from a trusted artifact provider.","state":0,"publishedAt":"2021-01-25T19:15:12.847+00:00","modifiedAt":"2026-06-17T03:35:10.05+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":7.7,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":7.7,"severity":"HIGH"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","score":4,"severity":"MEDIUM"}],"references":["https://github.com/deislabs/oras/commit/96cd90423303f1bb42bd043cb4c36085e6e91e8e","https://github.com/deislabs/oras/releases/tag/v0.9.0","https://github.com/deislabs/oras/security/advisories/GHSA-g5v4-5x39-vwhx","https://pkg.go.dev/github.com/deislabs/oras/pkg/oras"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-21272","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-22","CWE-59"],"productCriteria":["cpe:2.3:a:deislabs:oras:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2021-01-25T19:15:12.847","lastModified":"2026-06-17T03:35:10.050"},"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-2021-21272","identifiers":["CVE-2021-21272"]},"retained":false,"historicalAffected":[]},{"revision":"001b58d4c4834a1f90bc1b8d0ab81b02","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-g5v4-5x39-vwhx","aliases":["BIT-oras-2021-21272","CVE-2021-21272","GO-2021-0099"],"title":"Zip slip directory exploit in github.com/deislabs/oras","description":"### Impact\nThe directory support (#55) allows the downloaded gzipped tarballs to be automatically extracted to the user-specified directory where the tarball can have symbolic links and hard links.\n\nA well-crafted tarball or tarballs allow malicious artifact providers linking, writing, or overwriting specific files on the host filesystem outside of the user-specified directory unexpectedly with the same permissions as the user who runs `oras pull`. \n\nPrecisely, the following users of the affected versions are impacted\n- `oras` CLI users who runs `oras pull`.\n- Go programs, which invokes `github.com/deislabs/oras/pkg/content.FileStore`.\n\n### Patches\nThe problem has been patched by the PR linked with this advisory. Users should upgrade their `oras` CLI and packages to `0.9.0`.\n\n### Workarounds\nFor `oras` CLI users, there is no workarounds other than pulling from a trusted artifact provider.\n\nFor `oras` package users, the workaround is to not use `github.com/deislabs/oras/pkg/content.FileStore`, and use other content stores instead, or pull from a trusted artifact provider.\n\n### References\n- [Zip Slip](https://github.com/snyk/zip-slip-vulnerability)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue on the [GitHub repo](https://github.com/deislabs/oras)\n* Email the [list of maintainers](https://github.com/deislabs/oras/blob/main/MAINTAINERS)","state":0,"publishedAt":"2022-02-15T00:32:04+00:00","modifiedAt":"2026-07-08T06:29:37.8035783+00:00","affected":[{"ecosystem":"Go","name":"github.com/deislabs/oras","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.9.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/deislabs/oras/security/advisories/GHSA-g5v4-5x39-vwhx","https://nvd.nist.gov/vuln/detail/CVE-2021-21272","https://github.com/deislabs/oras/commit/96cd90423303f1bb42bd043cb4c36085e6e91e8e","https://github.com/deislabs/oras","https://github.com/deislabs/oras/releases/tag/v0.9.0","https://pkg.go.dev/github.com/deislabs/oras/pkg/oras","https://pkg.go.dev/vuln/GO-2021-0099"],"sourceUrl":"https://github.com/advisories/GHSA-g5v4-5x39-vwhx","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-g5v4-5x39-vwhx","identifiers":["GHSA-g5v4-5x39-vwhx","BIT-oras-2021-21272","CVE-2021-21272","GO-2021-0099"]},"retained":false,"historicalAffected":[]},{"revision":"58f0017aae894c689c5ebe3651db06f5","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2021-0099","aliases":["BIT-oras-2021-21272","CVE-2021-21272","GHSA-g5v4-5x39-vwhx"],"title":"Zip slip directory exploit in github.com/deislabs/oras","description":"Due to improper path validation, using the github.com/deislabs/oras/pkg/content.FileStore content store may result in directory traversal during archive extraction, allowing a malicious archive to write paths to arbitrary paths that the process can write to.","state":0,"publishedAt":"2021-04-14T20:04:52+00:00","modifiedAt":"2024-05-20T16:03:47+00:00","affected":[{"ecosystem":"Go","name":"github.com/deislabs/oras","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.9.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/deislabs/oras/commit/96cd90423303f1bb42bd043cb4c36085e6e91e8e"],"sourceUrl":"https://osv.dev/vulnerability/GO-2021-0099","license":"OSV · upstream source license applies","key":"osv:GO-2021-0099","identifiers":["GO-2021-0099","BIT-oras-2021-21272","CVE-2021-21272","GHSA-g5v4-5x39-vwhx"]},"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-25T16:30:51.6399626+00:00","complete":true,"records":1796,"lastAttemptAt":"2026-11-25T16:30:51.6399626+00:00","lastSuccessAt":"2026-11-25T16:30:52.034918+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:52.0349214+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-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-eff9d08c8f0fa32ddca8b3faeb4fb15ed8fd3be7ad4cea54f526276594975076","complete":true,"records":432225,"lastAttemptAt":"2026-11-25T16:28:38.1682659+00:00","lastSuccessAt":"2026-11-25T16:28:38.0153955+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:28:38.1682659+00:00","snapshotPublishedAt":"2026-11-25T16:27:14+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-fe3c1be5a79449a09eb76cfe4a645b7c","complete":false,"records":13939,"lastAttemptAt":"2026-11-25T16:41:38.9086864+00:00","lastSuccessAt":"2026-11-25T16:41:37.884+00:00","error":"153 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T16:41:37.884+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13628,"expectedIdentifiers":13987,"failedIdentifiers":153},{"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-25T16:30:51.6399626+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T16:30:51.6399626+00:00","lastSuccessAt":"2026-11-25T16:30:52.035995+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:52.0359954+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-b1697be945394a11bfe4d90c22645cd8","complete":true,"records":13951,"lastAttemptAt":"2026-11-25T16:30:53.1656546+00:00","lastSuccessAt":"2026-11-25T16:30:53.16+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:53.16+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13987,"expectedIdentifiers":13987,"failedIdentifiers":0},{"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-70b1e3058f76fab20c77bb1c4924a4c57f7654dd208befb5b1f237e682d6ddca","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T16:30:51.4950342+00:00","lastSuccessAt":"2026-11-25T11:46:59.5507764+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:51.4950342+00:00","snapshotPublishedAt":"2026-11-25T11:03:15+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-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T16:28:38.3174258+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:28:38.3174258+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+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-5be533520b83c9bfaebc80695093f6f0d59feafc2a1eab94e91dd79d1bb9241b","complete":true,"records":3222,"lastAttemptAt":"2026-11-25T16:30:51.5978795+00:00","lastSuccessAt":"2026-11-25T11:47:03.6026853+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:51.5978795+00:00","snapshotPublishedAt":"2026-11-25T11:18:20+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-93117e9f4237570c8330a2370f4c3e20e3306a5fa2ad4a5c945eb39d2bbbbbda","complete":true,"records":233129,"lastAttemptAt":"2026-11-25T16:30:51.3700222+00:00","lastSuccessAt":"2026-11-25T16:30:50.1279622+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:51.3700222+00:00","snapshotPublishedAt":"2026-11-25T15:33:14+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}