Skip to content
OpenAdvisories
Medium · 6.3 Public exploit CVE-2020-8554 EUVD-2022-1072GHSA-j9wf-vvm6-4r9w

Kubernetes man in the middle using LoadBalancer or ExternalIPs

Published Jan 21, 2021 · Updated Jun 1, 2026 · Assigned by kubernetes

Description

Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.externalIPs field, to intercept traffic to that IP address. Additionally, an attacker who is able to patch the status (which is considered a privileged operation and should not typically be granted to users) of a LoadBalancer service can set the status.loadBalancer.ingress.ip to similar effect.

Affected products

VendorProductAffectedFixed
Kubernetes Kubernetes — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 kubernetes 1.31.4+ds-1 —
Debian 13 kubernetes 1.31.4+ds-1 —
ReleasePackageFixed inAdvisory
Red Hat OpenShift 3 atomic-enterprise-service-catalog +1 1:3.11.374-1.git.1675.738abcc.el7 RHSA-2021:0079
Red Hat OpenShift 3 atomic-openshift +12 3.11.374-1.git.0.ebd3ee9.el7 RHSA-2021:0079
Red Hat OpenShift 3 atomic-openshift-cluster-autoscaler 3.11.374-1.git.0.2996f62.el7 RHSA-2021:0079
Red Hat OpenShift 3 atomic-openshift-descheduler 3.11.374-1.git.299.f128e96.el7 RHSA-2021:0079
Red Hat OpenShift 3 atomic-openshift-dockerregistry 3.11.374-1.git.481.e6a880c.el7 RHSA-2021:0079
Red Hat OpenShift 3 atomic-openshift-metrics-server 3.11.374-1.git.53.9df25a9.el7 RHSA-2021:0079
Red Hat OpenShift 3 atomic-openshift-node-problem-detector 3.11.374-1.git.263.28335fb.el7 RHSA-2021:0079
Red Hat OpenShift 3 atomic-openshift-service-idler 3.11.374-1.git.15.523a1f7.el7 RHSA-2021:0079
Red Hat OpenShift 3 atomic-openshift-web-console 3.11.374-1.git.647.9e78d83.el7 RHSA-2021:0079
Red Hat OpenShift 3 golang-github-openshift-oauth-proxy 3.11.374-1.git.439.966c536.el7 RHSA-2021:0079
Red Hat OpenShift 3 openshift-enterprise-autoheal 3.11.374-1.git.218.9cf7939.el7 RHSA-2021:0079
Red Hat OpenShift 3 openshift-enterprise-cluster-capacity 3.11.374-1.git.379.80bd08f.el7 RHSA-2021:0079
Red Hat OpenShift 3 prometheus +1 3.11.374-1.git.5026.29379c4.el7 RHSA-2021:0079
Red Hat OpenShift 3 prometheus-alertmanager +1 3.11.374-1.git.0.3abd2a5.el7 RHSA-2021:0079
Red Hat OpenShift 3 prometheus-node-exporter +1 3.11.374-1.git.1062.490d6d5.el7 RHSA-2021:0079
Red Hat OpenShift 3 python-urllib3 +1 1.26.2-1.el7 RHSA-2021:0079

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 kubernetes 1.28.3-2 —
Azure Linux 3 python-kubernetes 21.7.0-1 —
Azure Linux 2 (CBL-Mariner) kubernetes 1.28.3-1 —
Azure Linux 2 (CBL-Mariner) python-kubernetes 21.7.0-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 kata 1.7.3-1.0.12.el7 ELSA-2021-9029, ELSA-2021-9028
Oracle Linux 7 kata-image 1.11.5-1.1.ol8_202101151826 ELSA-2021-9028
Oracle Linux 7 kata-runtime 1.7.3-1.0.7.el7 ELSA-2021-9029, ELSA-2021-9028
Oracle Linux 7 kata-shim +3 1.11.5-1.el8 ELSA-2021-9028
Oracle Linux 7 kubeadm +2 1.17.9-1.0.6.el7 ELSA-2021-9029, ELSA-2021-9028
Oracle Linux 7 olcnectl +6 1.1.10-1.el7 ELSA-2021-9029, ELSA-2021-9028

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling kubernetes-1.34 +3 No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 5 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Go k8s.io/kubernetes <= 1.22.0 — GHSA-j9wf-vvm6-4r9w

Advisories 4

References