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.
The code contains a control flow path that does not reflect the algorithm that the path is intended to implement, leading to incorrect behavior any time this path is navigated.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Portmap | Cncf | * | 0.7.5 (excluding) |
Kubernetes | Kubernetes | * | 1.11.9 (excluding) |
Kubernetes | Kubernetes | 1.12.0 (including) | 1.12.7 (excluding) |
Kubernetes | Kubernetes | 1.13.0 (including) | 1.13.5 (excluding) |
Kubernetes | Kubernetes | 1.13.6-beta0 (including) | 1.13.6-beta0 (including) |
Kubernetes | Kubernetes | 1.14.0-alpha0 (including) | 1.14.0-alpha0 (including) |
Kubernetes | Kubernetes | 1.14.0-alpha1 (including) | 1.14.0-alpha1 (including) |
Kubernetes | Kubernetes | 1.14.0-alpha2 (including) | 1.14.0-alpha2 (including) |
Kubernetes | Kubernetes | 1.14.0-alpha3 (including) | 1.14.0-alpha3 (including) |
Kubernetes | Kubernetes | 1.14.0-beta0 (including) | 1.14.0-beta0 (including) |
Kubernetes | Kubernetes | 1.14.0-beta1 (including) | 1.14.0-beta1 (including) |
Kubernetes | Kubernetes | 1.14.0-beta2 (including) | 1.14.0-beta2 (including) |
Kubernetes | Kubernetes | 1.14.0-rc1 (including) | 1.14.0-rc1 (including) |
Red Hat Enterprise Linux 7 Extras | RedHat | containernetworking-plugins-0:0.7.5-2.el7 | * |
Red Hat Enterprise Linux 8 | RedHat | container-tools:rhel8-8010020190927090915.4985cc55 | * |
Kubernetes | Ubuntu | cosmic | * |
Kubernetes | Ubuntu | disco | * |
Kubernetes | Ubuntu | eoan | * |
Kubernetes | Ubuntu | groovy | * |
Kubernetes | Ubuntu | hirsute | * |
Kubernetes | Ubuntu | impish | * |
Kubernetes | Ubuntu | kinetic | * |
Kubernetes | Ubuntu | lunar | * |
Kubernetes | Ubuntu | mantic | * |