CVE-2020-27833
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.
Weakness
- CWE-20: Improper Input Validation
Timeline
- 2021-05-14Published by the CNA20:20 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| redhat openshift_container_platform | through 4.7no fix listed | not listed |
References
- https://access.redhat.com/security/cve/CVE-2020-27833
- https://bugzilla.redhat.com/show_bug.cgi?id=1905945
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2020-27833'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2020-27833'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2020-27833'curl 'https://api.contrastcyber.com/cve_products/CVE-2020-27833'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).