Link Following Affecting cri-o package, versions <0:1.9.16-1.git78b2041.el7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.13% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-CRIO-5252314
  • published26 Mar 2023
  • disclosed28 Mar 2019

Introduced: 28 Mar 2019

CVE-2019-1002101  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade RHEL:7 cri-o to version 0:1.9.16-1.git78b2041.el7 or higher.
This issue was patched in RHBA-2019:0619.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cri-o package and not the cri-o package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

The kubectl cp command allows copying files between containers and the user machine. To copy files from a container, Kubernetes creates a tar inside the container, copies it over the network, and kubectl unpacks it on the user’s machine. If the tar binary in the container is malicious, it could run any code and output unexpected, malicious results. An attacker could use this to write files to any path on the user’s machine when kubectl cp is called, limited only by the system permissions of the local user. The untar function can both create and follow symbolic links. The issue is resolved in kubectl v1.11.9, v1.12.7, v1.13.5, and v1.14.0.