CVE-2020-27833

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:redhat:openshift_container_platform:*:*:*:*:*:*:*:*

History

21 Feb 2024, 20:55

Type Values Removed Values Added
CWE CWE-59

02 Jun 2021, 20:34

Type Values Removed Values Added
CVSS v2 : 6.8
v3 : 8.8
v2 : 4.6
v3 : 7.1

24 May 2021, 19:51

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 6.8
v3 : 8.8
CWE CWE-20
CPE cpe:2.3:a:redhat:openshift_container_platform:*:*:*:*:*:*:*:*
References (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1905945 - (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=1905945 - Issue Tracking, Vendor Advisory
References (CONFIRM) https://access.redhat.com/security/cve/CVE-2020-27833 - (CONFIRM) https://access.redhat.com/security/cve/CVE-2020-27833 - Vendor Advisory

Information

Published : 2021-05-14 21:15

Updated : 2024-02-21 20:55


NVD link : CVE-2020-27833

Mitre link : CVE-2020-27833

CVE.ORG link : CVE-2020-27833


JSON object : View

Products Affected

redhat

  • openshift_container_platform
CWE
CWE-59

Improper Link Resolution Before File Access ('Link Following')

CWE-20

Improper Input Validation