CVEvulnerability

CVE-2020-27833

7.1 HIGH Published 2021-05-14 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-05-14
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
4.6 MEDIUM — AV:N/AC:H/Au:S/C:P/I:P/A:P
Weaknesses
CWE-20, CWE-59

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 configurations

• redhat openshift container platform (<= 4.7)

Related

Weakness · CWE (2)

  • CWE-20 Improper Input Validation weakness
  • CWE-59 Improper Link Resolution Before File Access weakness

Referenced by CWE · observed example (1)

  • CWE-59 Improper Link Resolution Before File Access weakness

References