Kube-router Proxy Module Blindly Trusts ExternalIPs/LoadBalancer IPs Enabling Cluster-Wide Traffic Hijacking and DNS DoS
cloudnativelabs kube-router
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/cloudnativelabs/kube-router/v2 Go |
|
|
| github.com/cloudnativelabs/kube-router Go |
| No fix yet |
Original description
Kube-router is a turnkey solution for Kubernetes networking. Prior to version 2.8.0, Kube-router's proxy module does not validate externalIPs or loadBalancer IPs before programming them into the node's network configuration. Version 2.8.0 contains a patch for the issue. Available workarounds include enabling DenyServiceExternalIPs feature gate, deploying admission policy, restricting service creation RBAC, monitoring service changes, and applying BGP prefix filtering.