# CVE-2020-8554: Kubernetes man in the middle using LoadBalancer or ExternalIPs

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, login needed
- **EPSS:** 8.72% (percentile 96, 2026-11-26)
- **CWE:** CWE-283
- **Aliases:** GHSA-j9wf-vvm6-4r9w
- **Published:** 2021-01-21T17:09:21.169Z
- **Modified:** 2026-09-10T03:49:28.093Z

## Who should check

- Projects that depend on Go package k8s.io/kubernetes (\<= 1.22.0)
- Anyone running 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 and fixed versions

- Go `k8s.io/kubernetes`: affected \<= 1.22.0; fixed no fix listed yet (osv)
- Kubernetes: \< \* (cvelist)

## Mitigation

- Vendor workaround: 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2020-8554. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-8554.md
Affected: k8s.io/kubernetes <= 1.22.0
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for k8s.io/kubernetes (Go), Kubernetes: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2020-8554 being exploited?

There is no confirmed exploitation: CVE-2020-8554 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 8.72% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2020-8554?

Medium: CVSS 6.3 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2020-8554?

k8s.io/kubernetes \<= 1.22.0.

### Is there a fix for CVE-2020-8554?

No fixed version is listed in the sources yet. Vendor workaround: 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.

### How do I check if I'm affected by CVE-2020-8554?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2020-8554>
- patch: <https://www.oracle.com//security-alerts/cpujul2021.html>
- patch: <https://www.oracle.com/security-alerts/cpujan2022.html>
- patch: <https://www.oracle.com/security-alerts/cpuapr2022.html>
- exploit: <https://github.com/kubernetes/kubernetes/issues/97076>
- other: <https://kubernetes.io/blog/2026/05/26/reconciling-unfixed-kubernetes-cves/>
- other: <https://groups.google.com/g/kubernetes-security-announce/c/iZWsF9nbKE8>
- other: <https://lists.apache.org/thread.html/rcafa485d63550657f068775801aeb706b7a07140a8ebbdef822b3bb3%40%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r0c76b3d0be348f788cd947054141de0229af00c540564711e828fd40%40%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rdb223e1b82e3d7d8e4eaddce8dd1ab87252e3935cc41c859f49767b6%40%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r1975078e44d96f2a199aa90aa874b57a202eaf7f25f2fde6d1c44942%40%3Ccommits.druid.apache.org%3E>
- other: <https://github.com/kubernetes/kubernetes/issues/97110>
- other: <https://lists.apache.org/thread.html/rdb223e1b82e3d7d8e4eaddce8dd1ab87252e3935cc41c859f49767b6@%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rcafa485d63550657f068775801aeb706b7a07140a8ebbdef822b3bb3@%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r1975078e44d96f2a199aa90aa874b57a202eaf7f25f2fde6d1c44942@%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r0c76b3d0be348f788cd947054141de0229af00c540564711e828fd40@%3Ccommits.druid.apache.org%3E>
- other: <https://kubernetes.io/blog/2026/05/26/reconciling-unfixed-kubernetes-cves>
- other: <https://github.com/kubernetes/kubernetes>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2020-8554>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-j9wf-vvm6-4r9w> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2020-8554> · JSON: <https://flawdb.com/api/v1/entries/CVE-2020-8554>
