CVE-2020-27833
publishedopenshift/oc: zip slip - arbitrary file write vulnerability / arbitrary code execution using a specially crafted container image
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | openshift/ocup to & including openshift-clients-4.7.0-202104250659.p0.git.95881af | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | openshift/oc | up to & including openshift-clients-4.7.0-202104250659.p0.git.95881af (affected) | redhat · cna |
Weaknesses
1- CWE-20
References
2Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- bcd4932195c823bc589df41219bff2a384fc6e023bbb0f71ed4a1cbdb7ebd2ae
- Ingested
- 23 Sep 2026, 07:49:56 UTC
- Source record
- Official CVE record