CVE-2019-9946

Name
CVE-2019-9946
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Patch https://github.com/containernetworking/plugins/pull/269#issuecomment-477683272
Patch https://security.netapp.com/advisory/ntap-20190416-0002/
REDHAT https://access.redhat.com/errata/RHBA-2019:0862
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FCN66VYB3XS76SYH567SO7N3I254JOCT/
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SGOOWAELGH3F7OXRBPH3HCNZELNLXYTW/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:cncf:portmap:*:*:*:*:*:container_networking_interface:*:* portmap >= None < 0.7.5
cpe:2.3:a:kubernetes:kubernetes:1.14.0:alpha2:*:*:*:*:*:* kubernetes == None == 1.14.0
cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* kubernetes >= None < 1.11.9
cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* kubernetes >= 1.12.0 < 1.12.7
cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:* kubernetes >= 1.13.0 < 1.13.5
cpe:2.3:a:kubernetes:kubernetes:1.13.6:beta0:*:*:*:*:*:* kubernetes == None == 1.13.6

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
containerd edge-community 1.2.6-r0 None fixed
containerd 3.22-community 1.2.6-r0 None fixed
containerd 3.21-community 1.2.6-r0 None fixed
containerd 3.20-community 1.2.6-r0 None fixed
containerd 3.19-community 1.2.6-r0 None fixed
containerd 3.18-community 1.2.6-r0 None fixed
containerd 3.17-community 1.2.6-r0 None fixed