kubectl creates world-writeable cached schema files
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Kubernetes | Kubernetes | affected |
|
Configuration 1 [-]
|
Configuration 2 [-]
|
Configuration 3 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat OpenShift Container Platform 3.11 | |||
| atomic-openshift-0:3.11.161-1.git.0.4ccbe25.el7 | cpe:/a:redhat:openshift:3.11::el7 | RHSA-2020:0020 | 2020-01-14T00:00:00Z |
| Red Hat OpenShift Container Platform 4.1 | |||
| openshift-0:4.1.24-201911080309.git.0.c41acf2.el7 | cpe:/a:redhat:openshift:4.1::el7 | RHSA-2019:3942 | 2019-11-21T00:00:00Z |
| openshift4/ose-cli:v4.1.24-201911120311 | cpe:/a:redhat:openshift:4.1::el7 | RHSA-2020:0074 | 2020-01-21T00:00:00Z |
No data available yet.
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.
| Source | ID | Title |
|---|---|---|
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 |
GHSA-2575-pghm-6qqx | Kubernetes Unsafe Cacheing |
No CVSS v4.0
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.498% probability within 30 days)
Key SSVC decision points have not yet been added.
No history.