{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-21272","published":"2021-01-25T19:15:12.847000Z","last_modified":"2026-06-17T03:35:10.050000Z","status":"Modified","cvss":{"version":"3.1","score":7.7,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-22","CWE-59"],"cpes":[{"criteria":"cpe:2.3:a:deislabs:oras:*:*:*:*:*:*:*:*","part":"a","vendor":"deislabs","product":"oras","version_start_including":"0.4.0","version_end_excluding":"0.9.0"}],"cpes_truncated":false,"vendors":["deislabs"],"products":["deislabs/oras"],"epss":{"score":0.01466,"percentile":0.73978,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-g5v4-5x39-vwhx","ecosystem":"Go","name":"github.com/deislabs/oras","purl":"pkg:golang/github.com/deislabs/oras","ranges":[{"introduced":"0","fixed":"0.9.0"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2021-0099","ecosystem":"Go","name":"github.com/deislabs/oras","purl":"pkg:golang/github.com/deislabs/oras","ranges":[{"introduced":"0","fixed":"0.9.0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":46,"links":{"html_es":"/es/cve/CVE-2021-21272/","html_en":"/en/cve/CVE-2021-21272/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-21272","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-21272"},"untrusted":{"vendor_name":"Deislabs","product_name":"Oras","desc_en":"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.","affected":[{"untrusted_vendor":"deislabs","untrusted_product":"oras","versions":[]}],"references":[{"url":"https://github.com/deislabs/oras/commit/96cd90423303f1bb42bd043cb4c36085e6e91e8e","tags":["Patch"]},{"url":"https://github.com/deislabs/oras/releases/tag/v0.9.0","tags":["Release Notes"]},{"url":"https://github.com/deislabs/oras/security/advisories/GHSA-g5v4-5x39-vwhx","tags":["Patch","Vendor Advisory"]},{"url":"https://pkg.go.dev/github.com/deislabs/oras/pkg/oras","tags":["Third Party Advisory"]}]}}