Read the docs
TI-2021-04372 Aliases CVE-2021-21272GHSA-g5v4-5x39-vwhx

zip slip in ORAS

Priority LOW 37CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · High · None
Fix status
Partial Red Hat: 5 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

EPSS 0.01466 73rd percentileScored 2026-11-07
Fix Partial oras (deislabs): 0.9.0github.com/deislabs/oras (Go): 0.9.0Red Hat: 5 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
deislabsoras0.4.0 to before 0.9.00.9.0Patch availableCNA
—github.com/deislabs/oras (Go)before 0.9.00.9.0Patch availableGHSA-g5v4-5x39-vwhx
  • oras Vendordeislabs Affected 0.4.0 to before 0.9.0 Fixed in 0.9.0 Patch available CNA
  • github.com/deislabs/oras (Go) Vendor— Affected before 0.9.0 Fixed in 0.9.0 Patch available GHSA-g5v4-5x39-vwhx

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:deislabs:oras:*:*:*:*:*:*:*:*0.4.0 to before 0.9.0Vulnerabledeislabs
  • cpe:2.3:a:deislabs:oras:*:*:*:*:*:*:*:* Versions 0.4.0 to before 0.9.0 Vulnerable ·deislabs

Remediation

  • Fix · CNA oras (deislabs) Fixed in 0.9.0
  • Fix · GHSA-g5v4-5x39-vwhx github.com/deislabs/oras (Go) Fixed in 0.9.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Advanced Cluster Management for Kubernetes 2AffectedNo fix yet
Red Hat Advanced Cluster Security 3AffectedNo fix yet
Red Hat OpenShift Container Platform 4AffectedNo fix yet
Red Hat OpenShift Container Platform Assisted Installer 1AffectedNo fix yet: Fix deferred
Red Hat Openshift Container Storage 4AffectedNo fix yet: Fix deferred
Not affected: 3 products
  • Red Hat OpenShift Container Platform 4
  • Red Hat OpenShift Virtualization 2
  • Red Hat Openshift Container Storage 4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-21272
  2. 2026-10-03 Alias added: GHSA-g5v4-5x39-vwhx

References

Sources