CVE-2019-9946
Cncf Portmap vulnerability
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.
Affected products
Portmap, Kubernetes, Cloud Insights. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Cncf Portmap runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/containernetworking/plugins/pull/269#issuecomment-477683272 · Patch
- security.netapp.com/advisory/ntap-20190416-0002/ · Patch
- access.redhat.com/errata/RHBA-2019:0862
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S
- nvd.nist.gov/vuln/detail/CVE-2019-9946
- cve.org/CVERecord?id=CVE-2019-9946
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.