cve.bz

CVE-2020-8554 Unverified Ownership

5.0 mediumExploit referenceEPSS 8.7%Fix available

Medium (5.0). EPSS 8.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.0 medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS
8.7% (unchanged from 8.7% a week ago; 9.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-283 Unverified Ownership
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-8554 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-8554?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-8554?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-8554 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Kubernetesall versions

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-j9wf-vvm6-4r9wGok8s.io/kubernetes<=1.22.0no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14kubernetes1.31.4+ds-1DEBIAN-CVE-2020-8554
Red Hatopenshift:3.11::el7atomic-enterprise-service-catalog, atomic-enterprise-service-catalog-svcat1:3.11.374-1.git.1675.738abcc.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7atomic-openshift, atomic-openshift-pod, atomic-openshift-node and 10 more0:3.11.374-1.git.0.ebd3ee9.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7atomic-openshift-cluster-autoscaler0:3.11.374-1.git.0.2996f62.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7atomic-openshift-descheduler0:3.11.374-1.git.299.f128e96.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7atomic-openshift-dockerregistry0:3.11.374-1.git.481.e6a880c.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7atomic-openshift-metrics-server0:3.11.374-1.git.53.9df25a9.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7atomic-openshift-node-problem-detector0:3.11.374-1.git.263.28335fb.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7atomic-openshift-service-idler0:3.11.374-1.git.15.523a1f7.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7atomic-openshift-web-console0:3.11.374-1.git.647.9e78d83.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7golang-github-openshift-oauth-proxy0:3.11.374-1.git.439.966c536.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7openshift-enterprise-autoheal0:3.11.374-1.git.218.9cf7939.el7RHSA-2021:0079
Red Hatopenshift:3.11::el7openshift-enterprise-cluster-capacity0:3.11.374-1.git.379.80bd08f.el7RHSA-2021:0079
4 more for Red Hat in the JSON and on Red Hat's page.
Azure Linux2kubernetes1.28.3-1AZL-31731
Azure Linux2python-kubernetes21.7.0-1AZL-31696
Azure Linux3kubernetes1.28.3-2AZL-34893
Azure Linux3python-kubernetes21.7.0-1AZL-35135

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

OpenShift Container Platform (OCP) includes a builtin externalIP admission plugin, which restricts the use of Service eternalIPs to those configured by a cluster-admin. In OCP4 all externalIP ranges are disabled by default. In OCP 3.11, the default range is "0.0.0.0/0", which allows all IP addresses.

The second attack vector, via patching the Status of a LoadBalancer Service, is not possible unless permission to patch service/status is granted. OCP does not grant this permission to users who are not cluster-admins.

OCP 4 is not affected by this vulnerability as it is secure by default. OCP 3.11 is affected, however the vulnerability can be by mitigated by configuring the builtin externalIP admission plugin.

Red Hat's mitigation

ExternalIP addresses ranges can be configured as described below. OCP 4 is secure by default, though cluster-admins can whitelist externalIP addresses as needed. OCP 3.11 can be secured by changing `externalIPNetworkCIDR` to "0.0.0.0/32", which blocks all externalIP address values.

https://docs.openshift.com/container-platform/4.6/networking/configuring_ingress_cluster_traffic/configuring-externalip.html

https://docs.openshift.com/container-platform/3.11/admin_guide/tcp_ingress_external_ports.html#service-externalip

Users can check if they have permission to patch the Status of a LoadBalancer Service with the command: `kubectl auth can-i patch service --subresource=status`. In OCP, by default only cluster-admins are granted this permission.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 3.11atomic-openshift-0:3.11.374-1.git.0.ebd3ee9.el7Fixed 2021-01-20RHSA-2021:0079
Red Hat OpenShift Container Platform 4openshiftNot affected
Red Hat Storage 3heketiNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-8554.

References

Check your stackJSON