MEDIUM5.0
GHSA-2575-pghm-6qqx
Kubernetes Unsafe Cacheing
Quick fix
GHSA-2575-pghm-6qqx — k8s.io/client-go: upgrade to the fixed version with the command below.
go get k8s.io/client-go@v1.12.9Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-11244[ADVISORY]
- https://github.com/kubernetes/kubernetes/issues/76676[WEB]
- https://github.com/kubernetes/kubernetes/pull/77874[WEB]
- https://github.com/kubernetes/kubernetes/pull/77874/commits/f228ae3364729caed59087e23c42868454bc3ff4[WEB]
- https://github.com/kubernetes/client-go/commit/790a4f63632139cf6731014d00a9a8338f1fbd7d[WEB]
- https://access.redhat.com/errata/RHSA-2019:3942[WEB]
- https://access.redhat.com/errata/RHSA-2020:0020[WEB]
- https://access.redhat.com/errata/RHSA-2020:0074[WEB]
- https://security.netapp.com/advisory/ntap-20190509-0002[WEB]
- http://www.securityfocus.com/bid/108064[WEB]