PT-2021-11424 · Red Hat · Openshift-Clients
Published
2021-05-14
·
Updated
2024-02-21
·
CVE-2020-27833
CVSS v3.1
7.1
High
| Vector | AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
openshift-clients versions up to and including 4.7.0-202104250659.p0.git.95881af
Description:
A Zip Slip vulnerability was found in the oc binary 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.Recommendations:
For versions up to and including 4.7.0-202104250659.p0.git.95881af, as a temporary workaround, consider restricting the use of the
oc image extract command until a patch is available. Avoid using specially crafted raw container images that contain symbolic links to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Link Following
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Openshift-Clients