CVE-2020-8558

Kubernetes node setting allows for neighboring hosts to bypass localhost boundary

5.4 medium EPSS 3.42%

Published 27 Jul 2020 Updated 16 Sep 2024 CNA: kubernetes

Check your servers for CVE-2020-8558

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2020-8558 affects kubernetes, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

The Kubelet and kube-proxy components in versions 1.1.0-1.16.10, 1.17.0-1.17.6, and 1.18.0-1.18.3 were found to contain a security issue which allows adjacent hosts to reach TCP and UDP services bound to 127.0.0.1 running on the node or in the node's network namespace. Such a service is generally thought to be reachable only by other processes on the same host, but due to this defeect, could be reachable by other hosts on the same LAN as the node, or by containers running on the same node as the service.

Severity (CVSS)

5.4 medium CVSS 3.1 from kubernetes (CNA)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack vector
adjacent: the attacker has to be on the same local network or link
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 3.42%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 89.6% of all scored CVEs. Scores of 29 Nov 2026.

Weakness

  • CWE-420 Unprotected Alternate Channel

Affected products

As the CNA lists them.

ProductVersions
Kubernetes
affected prior to 1.18.4
affected prior to 1.17.7
affected prior to 1.16.11
affected 1.15
affected 1.14
affected 1.13
affected 1.12
affected 1.11
affected 1.10
affected 1.9
affected 1.8
affected 1.7
affected 1.6
affected 1.5
affected 1.4
affected 1.3
affected 1.2
affected 1.1

Is my server affected?

Find the installed version of kubernetes and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i kubernetes
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2020-8558 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2020-8558

RHEL, Rocky, Alma, Fedora

rpm -q kubernetes
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2020-8558

Alpine

apk list --installed | grep -i kubernetes

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2020-8558
trivy image --scanners vuln IMAGE | grep CVE-2020-8558

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Other references

Source: the record CVE-2020-8558 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.