Incorrect Permission Assignment for Critical Resource Affecting kubeadm package, versions <0:1.12.10-1.0.10.el7


Severity

Recommended
high

Based on Oracle Linux security rating

    Threat Intelligence

    EPSS
    0.08% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-ORACLE7-KUBEADM-2545208
  • published 10 Apr 2022
  • disclosed 22 Apr 2019

How to fix?

Upgrade Oracle:7 kubeadm to version 0:1.12.10-1.0.10.el7 or higher.
This issue was patched in ELSA-2019-4816.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kubeadm package and not the kubeadm package as distributed by Oracle. See How to fix? for Oracle:7 relevant fixed versions and status.

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.

CVSS Scores

version 3.1
Expand this section

NVD

5 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    High
  • Availability (A)
    None