Rapid7 Vulnerability & Exploit Database

Kubernetes: CVE-2019-11244: `kubectl --http-cache=` creates world-writeable cached schema files

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Kubernetes: CVE-2019-11244: `kubectl --http-cache=<world-accessible dir>` creates world-writeable cached schema files

Severity
2
CVSS
(AV:L/AC:M/Au:N/C:N/I:P/A:N)
Published
04/22/2019
Created
05/10/2019
Added
05/09/2019
Modified
01/23/2020

Description

In Kubernetes v1.8.x-v1.14.x, schema info is cached by kubectl in the location specified by --cache-dir (defaulting to $HOME/.kube/http-cache), written with world-writeable permissions (rw-rw-rw-). If --cache-dir is specified and pointed at a different location accessible to other users/groups, the written files may be modified by other users/groups and disrupt the kubectl invocation.

Solution(s)

  • kubernetes-upgrade-1_14_1

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

;