CVE-2019-9946 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....
HighCVSS 7.5
EPSS 3.2%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/kubernetes(Debian:12) | < 1.17.4-1 | 1.17.4-1 |
| debian/kubernetes(Debian:13) | < 1.17.4-1 | 1.17.4-1 |
| debian/kubernetes(Debian:14) | < 1.17.4-1 | 1.17.4-1 |
| cncf portmap | < 0.7.5 | 0.7.5 |
| Kubernetes | < 1.11.9 | 1.11.9 |
| Kubernetes | >= 1.12.0, < 1.12.7 | 1.12.7 |
| Kubernetes | >= 1.13.0, < 1.13.5 | 1.13.5 |
| Kubernetes | = 1.13.6-beta0 | No fix listed |
| Kubernetes | = 1.14.0-alpha0 | No fix listed |
| Kubernetes | = 1.14.0-alpha1 | No fix listed |
| Kubernetes | = 1.14.0-alpha2 | No fix listed |
| Kubernetes | = 1.14.0-alpha3 | No fix listed |
| Kubernetes | = 1.14.0-beta0 | No fix listed |
| Kubernetes | = 1.14.0-beta1 | No fix listed |
| Kubernetes | = 1.14.0-beta2 | No fix listed |
| Kubernetes | = 1.14.0-rc1 | No fix listed |
| netapp cloud insights | All versions | No fix listed |
| alpine/containerd(Alpine:v3.10) | < 1.2.6-r0 | 1.2.6-r0 |
| alpine/containerd(Alpine:v3.11) | < 1.2.6-r0 | 1.2.6-r0 |
| alpine/containerd(Alpine:v3.12) | < 1.2.6-r0 | 1.2.6-r0 |
| alpine/containerd(Alpine:v3.13) | < 1.2.6-r0 | 1.2.6-r0 |
| alpine/containerd(Alpine:v3.14) | < 1.2.6-r0 | 1.2.6-r0 |
| alpine/containerd(Alpine:v3.15) | < 1.2.6-r0 | 1.2.6-r0 |
| alpine/containerd(Alpine:v3.16) | < 1.2.6-r0 | 1.2.6-r0 |
| alpine/containerd(Alpine:v3.17) | < 1.2.6-r0 | 1.2.6-r0 |
Show 8 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/containerd(Alpine:v3.18) | < 1.2.6-r0 | 1.2.6-r0 |
| alpine/containerd(Alpine:v3.19) | < 1.2.6-r0 | 1.2.6-r0 |
| alpine/containerd(Alpine:v3.20) | < 1.2.6-r0 | 1.2.6-r0 |
| alpine/containerd(Alpine:v3.21) | < 1.2.6-r0 | 1.2.6-r0 |
| alpine/containerd(Alpine:v3.22) | < 1.2.6-r0 | 1.2.6-r0 |
| alpine/containerd(Alpine:v3.23) | < 1.2.6-r0 | 1.2.6-r0 |
| alpine/containerd(Alpine:v3.24) | < 1.2.6-r0 | 1.2.6-r0 |
| alpine/containerd(Alpine:v3.9) | < 1.2.6 | 1.2.6 |
References
- Debian Security Tracker CVE-2019-9946 vendor-advisory
- RHBA-2019:0862 vendor-advisory
- github.com patch third-party-advisory
- FEDORA-2019-d2b57d3b19 vendor-advisory
- FEDORA-2019-24217abfdf vendor-advisory
- security.netapp.com patch third-party-advisory
- security.alpinelinux.org vendor-advisory