CVE-2019-9946

MEDIUM

Description

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.

References

https://access.redhat.com/errata/RHBA-2019:0862

https://github.com/containernetworking/plugins/pull/269#issuecomment-477683272

https://lists.fedoraproject.org/archives/list/[email protected]/message/FCN66VYB3XS76SYH567SO7N3I254JOCT/

https://lists.fedoraproject.org/archives/list/[email protected]/message/SGOOWAELGH3F7OXRBPH3HCNZELNLXYTW/

https://security.netapp.com/advisory/ntap-20190416-0002/

Details

Source: MITRE

Published: 2019-04-02

Updated: 2019-06-15

Type: CWE-254

Risk Information

CVSS v2.0

Base Score: 5

Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N

Impact Score: 2.9

Exploitability Score: 10

Severity: MEDIUM

CVSS v3.0

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Impact Score: 3.6

Exploitability Score: 3.9

Severity: HIGH