GitHub Advisoryadvisory · Go

GHSA-2575-pghm-6qqx Kubernetes Unsafe Cacheing

MEDIUM Published 2022-02-15 Modified 2023-09-18 Official page ↗
Aliases
CVE-2019-11244
Ecosystem
Go
Packages
k8s.io/client-go
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
Weaknesses
CWE-524, CWE-732
Reviewed
2021-05-07

Affected packages

• Go k8s.io/client-go: >= 1.8.0, < 1.12.9 → fixed in 1.12.9

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.

Related

Alias · CVE (1)

  • CVE-2019-11244 In Kubernetes v1.8.x-v1.14.x, schema info is cached by kubectl in the location specified by --cache-dir (defaulting to… vulnerability

Weakness · CWE (2)

  • CWE-524 Use of Cache Containing Sensitive Information weakness
  • CWE-732 Incorrect Permission Assignment for Critical Resource weakness

References