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.
CPE | Name | Operator | Version |
---|---|---|---|
k8s.io/client-go | lt | 1.12.9 | |
k8s.io/client-go | ge | 1.8.0 |
www.securityfocus.com/bid/108064
access.redhat.com/errata/RHSA-2019:3942
access.redhat.com/errata/RHSA-2020:0020
access.redhat.com/errata/RHSA-2020:0074
github.com/kubernetes/client-go/commit/790a4f63632139cf6731014d00a9a8338f1fbd7d
github.com/kubernetes/kubernetes/issues/76676
github.com/kubernetes/kubernetes/pull/77874
github.com/kubernetes/kubernetes/pull/77874/commits/f228ae3364729caed59087e23c42868454bc3ff4
nvd.nist.gov/vuln/detail/CVE-2019-11244
security.netapp.com/advisory/ntap-20190509-0002