Advisory

GHSA-2575-pghm-6qqx

Also known as: CVE-2019-11244

Summary

Kubernetes Unsafe Cacheing

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-02-15 01:57 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

k8s.io/client-go

Go · All systems

Affected

  • introduced 1.8.0, fixed 1.12.9 (semver)

Fixed versions

1.12.9

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences