Improper input validation in Red Hat Openshift Container Platform
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.017, 77.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Red Hat Openshift Container Platform
- Openshift/oc — versions up to & including openshift-clients-4.7.0-202104250659.p0.git.95881af
Weakness classification (CWE)
References
- access.redhat.com/security/cve/CVE-2020-27833 (Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi (Issue Tracking, Vendor Advisory)