# 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 cra…

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.66%, higher than 77% of CVEs (2026-11-30)
- Published: 2021-05-14T20:20:45.000Z
- Modified: 2026-06-17T03:09:42.433Z
- Weaknesses: CWE-20, CWE-59
- 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.

(As written by CVE List.)

## Affected

- openshift/oc: up to & including openshift-clients-4.7.0-202104250659.p0.git.95881af
- redhat openshift_container_platform: up to 4.7

## Every score

- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:N/AC:H/Au:S/C:P/I:P/A:P`

## References

- <https://access.redhat.com/security/cve/CVE-2020-27833> (vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1905945> (issue-tracking, vendor-advisory)

## Sources

- CVE List: [CVE-2020-27833](https://www.cve.org/CVERecord?id=CVE-2020-27833), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-27833](https://nvd.nist.gov/vuln/detail/CVE-2020-27833), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-27833 · Whole record: https://cve.day/CVE-2020-27833.json · Rebuilt by cve.day 2026-11-25T22:57:57.921Z
