CVE-2020-27833: Input Validation

Published Dec 9, 2020
·
Updated

A vulnerability was found in all versions of the oc binary packaged in openshift-clients, limited to the oc image extract command. An arbitrary file read and/or write can be achieved using a specially crafted container image (.tar file) that holds symbolic links. When a symbolic link is first created pointing within the tarball this bypasses the existing path checks. Subsequent symbolic links can then be created to link outside of the tarball's parent directory. If an executable or configuration file can be overwritten as a result, the vulnerability can turn into arbitrary code execution.

Other sources

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.

MITRE

Affected Software

1 affected component
redhat OpenShift Container Platform<=4.7

Event History

Dec 9, 2020
Data Sourced
via Red Hat·11:10 AM
DescriptionSeverityAffected Software
May 14, 2021
CVE Published
via MITRE·08:20 PM
Data Sourced
via MITRE·08:20 PM
DescriptionWeakness

Frequently Asked Questions

1

What is the severity of CVE-2020-27833?

CVE-2020-27833 has a medium severity level due to the potential for arbitrary file read and write operations.

2

How can I fix CVE-2020-27833?

To fix CVE-2020-27833, upgrade to a version of openshift-clients that is later than a fixed release for versions 4.7 of Red Hat OpenShift Container Platform.

3

Which versions of OpenShift Container Platform are affected by CVE-2020-27833?

CVE-2020-27833 affects all versions of OpenShift Container Platform up to 4.7.

4

What components are impacted by CVE-2020-27833?

CVE-2020-27833 specifically impacts the 'oc' binary and the 'oc image extract' command in the OpenShift clients.

5

What kind of exploit can CVE-2020-27833 enable?

CVE-2020-27833 enables malicious actors to read from or write to arbitrary files through crafted container images with symbolic links.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203