CVE-2019-11244

kubectl creates world-writeable cached schema files

Published Apr 22, 2019 CVSS 3.1 · 5.0 Medium EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Workaround

Use the default --http-cache location in the $HOME directory or point it at a directory that is only accessible to desired users/groups.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0756 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.
Github GHSA Github GHSA GHSA-2575-pghm-6qqx Kubernetes Unsafe Cacheing
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
kubernetes
Published
Updated
Aug 4, 2024, 10:48 PM
Reserved
Apr 17, 2019, 12:00 AM
Status
Modified
Published
Apr 22, 2019, 3:29 PM
Modified
Jun 17, 2026, 2:12 AM
Severity
Low
Public date
Apr 22, 2019, 12:00 AM