Incorrect Permission Assignment for Critical Resource Affecting kubectl package, versions <0:1.12.7-1.2.3.el7


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.08% (36th 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 IDSNYK-ORACLE7-KUBECTL-2545527
  • published10 Apr 2022
  • disclosed22 Apr 2019

Introduced: 22 Apr 2019

CVE-2019-11244  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade Oracle:7 kubectl to version 0:1.12.7-1.2.3.el7 or higher.
This issue was patched in ELSA-2019-4716.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kubectl package and not the kubectl 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