Always-Incorrect Control Flow Implementation Affecting kubectl package, versions <0:1.12.7-1.1.2.el7


Severity

Recommended
0.0
high
0
10

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.21% (59th 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-2545821
  • published10 Apr 2022
  • disclosed2 Apr 2019

Introduced: 2 Apr 2019

CVE-2019-9946  (opens in a new tab)
CWE-670  (opens in a new tab)

How to fix?

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

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.

Cloud Native Computing Foundation (CNCF) CNI (Container Networking Interface) 0.7.4 has a network firewall misconfiguration which affects Kubernetes. The CNI 'portmap' plugin, used to setup HostPorts for CNI, inserts rules at the front of the iptables nat chains; which take precedence over the KUBE- SERVICES chain. Because of this, the HostPort/portmap rule could match incoming traffic even if there were better fitting, more specific service definition rules like NodePorts later in the chain. The issue is fixed in CNI 0.7.5 and Kubernetes 1.11.9, 1.12.7, 1.13.5, and 1.14.0.