Fedora Account System
Red Hat Associate
Red Hat Customer
## Tenant Service annotations and ExternalIPs propagated verbatim to infra-cluster Services **CWEs:** CWE-441, CWE-668 **CVSS:** 8.2 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N) **Component:** sustaining-engineering/openshift--cloud-provider-kubevirt ### Description createLoadBalancerService builds the infra-cluster LoadBalancer Service with Annotations: service.Annotations taken directly from the tenant-cluster Service, and copies tenant-supplied spec.externalIPs and spec.loadBalancerIP without validation or allow-listing. Infra-cluster LB controllers (MetalLB address-pool/sharing annotations, external-dns hostname annotations, cloud LB implementation annotations) act on these annotations with infra-cluster authority, so a tenant-cluster admin — a lower-privilege principal — can steer infra load-balancer behavior. Tenant-chosen externalIPs are materialized on an infra Service, which reproduces the CVE-2020-8554 pattern: kube-proxy in the infra cluster will route traffic destined to that IP to the tenant's endpoints, enabling interception of infra-cluster traffic to arbitrary IPs. ### Affected Locations - `:` ### Evidence **pkg/provider/loadbalancer.go lines 196-220** ```go lbService := &corev1.Service{ ObjectMeta: metav1.ObjectMeta{ Name: lbName, Namespace: lb.namespace, Annotations: service.Annotations, // tenant-controlled Labels: lbLabels, }, ... } if len(service.Spec.ExternalIPs) > 0 { lbService.Spec.ExternalIPs = service.Spec.ExternalIPs // tenant-controlled } ``` ### Attack Pattern A tenant-cluster admin creating a LoadBalancer Service gains annotation-level control over infra LB controllers and can claim arbitrary external IPs in the infra cluster to intercept traffic. --- *Source: Ex-Wing security assessment, finding FIND-002*