CVE-2020-8551 is a medium-severity (CVSS 6.5) CWE-789 vulnerability in k8s.io/kubernetes. A fix is available for k8s.io/kubernetes — see the affected versions and patch details below.
Allocation of Resources Without Limits or Throttling and Uncontrolled Memory Allocation in Kubernetes
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
k8s.io/kubernetes🐹k8s.io/kubernetes🐹k8s.io/kubernetesReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
The Kubelet component in versions 1.15.0-1.15.9, 1.16.0-1.16.6, and 1.17.0-1.17.2 has been found to be vulnerable to a denial of service attack via the kubelet API, including the unauthenticated HTTP read-only API typically served on port 10255, and the authenticated HTTPS API typically served on port 10250.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | k8s.io/kubernetes | ≥ 1.15.0&&< 1.15.10 | 1.15.10go get k8s.io/kubernetes@v1.15.10 |
| 🐹Go | k8s.io/kubernetes | ≥ 1.16.0&&< 1.16.6 | 1.16.6go get k8s.io/kubernetes@v1.16.6 |
| 🐹Go | k8s.io/kubernetes | ≥ 1.17.0&&< 1.17.2 | 1.17.2go get k8s.io/kubernetes@v1.17.2 |
Affected Products
fedorafedoraprojectkuberneteskubernetesDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for k8s.io/kubernetes, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update k8s.io/kubernetes to 1.15.10 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-8551 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
By default, OpenShift Container Platform does not allow unauthenticated access to the Kubelet API. OpenShift Container Platform versions before 4.2 are not affected by this vulnerability as they are based on earlier versions of Kubernetes which do not include metrics for the Kubelet HTTP server.
Prevent unauthenticated or unauthorized access to the Kubelet APISource: Red Hat security advisory for CVE-2020-8551 (CC BY 4.0)
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat OpenShift Container Platform 4.3 | openshift-0:4.3.10-202003300855.git.0.da48c1d.el7 | RHSA-2020:1276 |
| Red Hat OpenShift Container Platform 4.3 | openshift4/ose-hyperkube:v4.3.10-202003311925 | RHSA-2020:1277 |
| Red Hat OpenShift Container Platform 4.4 | openshift4/ose-aws-machine-controllers:v4.4.0-202004261927 | RHBA-2020:0581 |
| Red Hat OpenShift Container Platform 4.5 | openshift4/ose-aws-machine-controllers:v4.5.0-202007012112.p0 | RHBA-2020:2409 |
Frequently Asked Questions
Is CVE-2020-8551 in your dependencies?
Find it across Go, including transitive dependencies.