CVE-2020-27833
JSON

7.1high

A Zip Slip vulnerability was found in the oc binary in openshift-clients where an arbitrary file write is achieved by using a specially cra…

Severity
7.1high CVSS:3.1 by NVD
Exploit likelihood
1.66% (higher than 77% of CVEs)
Published
Last changed
Assigned by
redhat

Description

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.

Affected

Product or packageVersionsReported by
openshift/ocup to & including openshift-clients-4.7.0-202104250659.p0.git.95881afCVE List
redhat openshift_container_platformup to 4.7NVD

All scores

NVD7.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
NVD4.6medium CVSS:2.0AV:N/AC:H/Au:S/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

NVD (es)

Se encontró una vulnerabilidad Zip Slip en el binario oc en openshift-clients donde es logrado una escritura de archivo arbitraria mediante el uso de una imagen de contenedor sin procesar especialmente diseñada (archivo .tar) que contiene enlaces simbólicos. La vulnerabilidad es limitada al comando "oc image extract". Si primero es creado un enlace simbólico apuntando dentro del tarball, esto permite a otros enlaces simbólicos omitir una comprobación de ruta existente. Este fallo permite al tarball crear enlaces fuera del directorio principal del tarball, permitiendo a archivos ejecutables o de configuración ser sobreescritos, resultando en una ejecución de código arbitrario. La mayor amenaza de esta vulnerabilidad es la confidencialidad, la integridad y la disponibilidad del sistema. Las versiones hasta e incluyendo openshift-clients-4.7.0-202104250659.p0.git.95881af están afectadas

References

Sources

SourceRecordLicence
CVE ListCVE-2020-27833 changed 2024-08-04CVE Terms of Use
NVDCVE-2020-27833 changed 2026-06-17Public domain