A Zip Slip vulnerability was found in the oc binary in openshift-clients where an arbitrary file write is achieved by using a specially crafted raw container image (.tar file) which contains symbolic links. The vulnerability is limited to the command `oc image extract`. If a symbolic link is first created pointing within the tarball, this allows further symbolic links to bypass the existing path check. This flaw allows the tarball to create links outside the tarball's parent directory, allowing for executables or configuration files to be overwritten, resulting in arbitrary code execution. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability. Versions up to and including openshift-clients-4.7.0-202104250659.p0.git.95881af are affected.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published: 2021-05-14T20:20:45

Updated: 2024-08-04T16:25:43.782Z

Reserved: 2020-10-27T00:00:00

Link: CVE-2020-27833

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2021-05-14T21:15:07.363

Modified: 2024-02-21T20:55:45.830

Link: CVE-2020-27833

cve-icon Redhat

Severity : Moderate

Publid Date: 2020-12-10T00:00:00Z

Links: CVE-2020-27833 - Bugzilla