Rapid7 Vulnerability & Exploit Database

Red Hat OpenShift: CVE-2019-11251: kubernetes: `kubectl cp` allows for arbitrary file write via double symlinks

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Red Hat OpenShift: CVE-2019-11251: kubernetes: `kubectl cp` allows for arbitrary file write via double symlinks

Severity
4
CVSS
(AV:N/AC:M/Au:N/C:N/I:P/A:N)
Published
10/31/2019
Created
11/01/2019
Added
10/31/2019
Modified
05/10/2023

Description

The Kubernetes kubectl cp command in versions 1.1-1.12, and versions prior to 1.13.11, 1.14.7, and 1.15.4 allows a combination of two symlinks provided by tar output of a malicious container to place a file outside of the destination directory specified in the kubectl cp invocation. This could be used to allow an attacker to place a nefarious file using a symlink, outside of the destination tree.

Solution(s)

  • linuxrpm-upgrade-atomic-openshift
  • linuxrpm-upgrade-openshift

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;