PT-2021-14379

CVE-2021-21272

·

Published

2021-01-25

·

Updated

2025-11-28

Description by

CVSS 3.1
7.7
High
MetricsAV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions: ORAS versions 0.4.0 through 0.9.0
Description: The issue is related to a "zip-slip" vulnerability in the directory support feature of ORAS, which allows downloaded gzipped tarballs to be automatically extracted to a user-specified directory. This directory can contain symbolic links and hard links, allowing a well-crafted tarball to link, write, or overwrite specific files on the host filesystem outside of the user-specified directory with the same permissions as the user who runs oras pull. The affected users are oras CLI users who run oras pull and Go programs that invoke github.com/deislabs/oras/pkg/content.FileStore.
Recommendations: For oras CLI users, there is no workaround 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. Users should upgrade their oras CLI and packages to version 0.9.0 to resolve the issue.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-G5V4-5X39-VWHX
BIT-ORAS-2021-21272
GO-2021-0099
OPENSUSE-SU-2022_4606-1
OPENSUSE-SU-2024:12345-1
OPENSUSE-SU-2025:15779-1
SUSE-SU-2022:4606-1
SUSE-SU-2022_4606-1
Found an issue in the description? Have something to add? Feel free to write us 👾