{"id":"CVE-2020-8554","published":"2021-01-21T17:09:21Z","modified":"2026-06-01T21:44:19Z","title":"Kubernetes man in the middle using LoadBalancer or ExternalIPs","vendor":"Kubernetes","product":"Kubernetes","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.08721,"percentile":0.95263,"provenance":"source"},"cwes":[{"id":"CWE-283","name":"Unverified Ownership"}],"references":[{"url":"https://kubernetes.io/blog/2026/05/26/reconciling-unfixed-kubernetes-cves/","tags":["x_refsource_MISC"]},{"url":"https://groups.google.com/g/kubernetes-security-announce/c/iZWsF9nbKE8","tags":["x_refsource_MISC"]},{"url":"https://github.com/kubernetes/kubernetes/issues/97076","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/rcafa485d63550657f068775801aeb706b7a07140a8ebbdef822b3bb3%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r0c76b3d0be348f788cd947054141de0229af00c540564711e828fd40%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rdb223e1b82e3d7d8e4eaddce8dd1ab87252e3935cc41c859f49767b6%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r1975078e44d96f2a199aa90aa874b57a202eaf7f25f2fde6d1c44942%40%3Ccommits.druid.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC"]}],"priority":{"score":28.5,"factors":[{"name":"EPSS percentile","points":19.05},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.41}]},"exploitSources":{"pocGithub":{"count":3,"skipped":2,"earliest":"2020-12-01","earliestUrl":"https://github.com/rancher/externalip-webhook","repos":[{"name":"rancher/externalip-webhook","url":"https://github.com/rancher/externalip-webhook","stars":3,"created":"2020-12-01"},{"name":"jrmurray000/CVE-2020-8554","url":"https://github.com/jrmurray000/CVE-2020-8554","stars":1,"created":"2020-12-11"},{"name":"twistlock/k8s-cve-2020-8554-mitigations","url":"https://github.com/twistlock/k8s-cve-2020-8554-mitigations","stars":1,"created":"2020-12-20"}]},"first":{"date":"2020-12-01","source":"PoC-in-GitHub","url":"https://github.com/rancher/externalip-webhook"},"provenance":"source"},"vendorSlug":"kubernetes","affectedVersions":[{"vendor":"Kubernetes","product":"Kubernetes","versions":["all versions"]}],"workarounds":{"items":["To restrict the use of external IPs we are providing an admission webhook container: k8s.gcr.io/multitenancy/externalip-webhook:v1.0.0. The source code and deployment instructions are published at https://github.com/kubernetes-sigs/externalip-webhook. Alternatively, external IPs can be restricted using OPA Gatekeeper. A sample ConstraintTemplate and Constraint can be found here: https://github.com/open-policy-agent/gatekeeper-library/tree/master/library/general/externalip."],"from":"CVE.org CNA","provenance":"source"},"affected":[{"ecosystem":"Go","package":"k8s.io/kubernetes","vulnerableRanges":["<=1.22.0"],"patched":[],"from":["GHSA-j9wf-vvm6-4r9w"],"provenance":"source"}],"summary":{"text":"The flaw lies in the Kubernetes API server, which allows an attacker to intercept traffic destined for an IP address by abusing how services are handled. An attacker who can create a ClusterIP service and set its spec.externalIPs field, or who can patch the status of a LoadBalancer service to set status.loadBalancer.ingress.ip, can redirect traffic to that address; this requires network access to the cluster and low-privilege authentication, with no user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:40:30Z"},"euvd":{"id":"EUVD-2022-1072","exploited":false,"provenance":"source"}}