{"id":"EUVD-2022-0997","revision":"4d2e0063cd6d4f0f8f6fea5f8266f826","records":[{"revision":"4d2e0063cd6d4f0f8f6fea5f8266f826","observedAt":"2026-11-20T07:26:18.823+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":[]}],"coverage":[]}