Improper Enforcement of Behavioral Workflow Affecting containernetworking-plugins package, versions <0:0.7.5-2.el7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.23% (63rd 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 Learn

Learn about Improper Enforcement of Behavioral Workflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-CONTAINERNETWORKINGPLUGINS-5037328
  • published26 Jul 2021
  • disclosed28 Mar 2019

Introduced: 28 Mar 2019

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

How to fix?

Upgrade RHEL:7 containernetworking-plugins to version 0:0.7.5-2.el7 or higher.
This issue was patched in RHBA-2019:0862.

NVD Description

Note: Versions mentioned in the description apply only to the upstream containernetworking-plugins package and not the containernetworking-plugins package as distributed by RHEL. See How to fix? for RHEL: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.