Vulnerabilities in pkg:golang/k8s.io/kubernetes/pkg/kubelet
PACKAGECVE-2020-8557 is a MODERATE (CVSS 5.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting K8s.io/kubernetes/pkg/kubelet libraries in the Go ecosystem. The issue involves denial of service in kubernetes. Remediation is available by upgrading affected packages to version 1.16.13, 1.17.9, 1.18.6.
pkg:golang/k8s.io/kubernetes/pkg/kubelet
Vulnerability advisories affecting package pkg:golang/k8s.io/kubernetes/pkg/kubelet. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-55qj-gj3x-jq9r | CVE-2020-8557 | MODERATE | Denial of service in Kubernetes |
CVE-2020-8557 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2020-8557
To remediate this vulnerability, upgrade all affected K8s.io/kubernetes/pkg/kubelet dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade k8s.io/kubernetes/pkg/kubelet to 1.16.13
Upgrade k8s.io/kubernetes/pkg/kubelet to 1.17.9
Upgrade k8s.io/kubernetes/pkg/kubelet to 1.18.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for k8s.io/kubernetes/pkg/kubelet
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-8557, inspect your project dependencies for K8s.io/kubernetes/pkg/kubelet:
inspect dependencies for k8s.io/kubernetes/pkg/kubelet
Analyze the terminal output to locate any version of K8s.io/kubernetes/pkg/kubelet in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.16.13), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In K8s.io/kubernetes/pkg/kubelet, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2020-8557 Affected K8s.io/kubernetes/pkg/kubelet Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
k8s.io/kubernetes/pkg/kubelet
|
Go |
≥ 1.1.0
< 1.16.13
|
1.16.13
|
|
k8s.io/kubernetes/pkg/kubelet
|
Go |
≥ 1.17.0
< 1.17.9
|
1.17.9
|
|
k8s.io/kubernetes/pkg/kubelet
|
Go |
≥ 1.18.0
< 1.18.6
|
1.18.6
|
References
Frequently Asked Questions
What is CVE-2020-8557?
Which K8s.io/kubernetes/pkg/kubelet versions are affected?
What version fixes CVE-2020-8557?
Is k8s.io/kubernetes/pkg/kubelet affected?
What is the CVSS score of CVE-2020-8557?
What CWE is associated with CVE-2020-8557?
How can I check Go dependencies for CVE-2020-8557?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-55qj-gj3x-jq9r",
"modified" : "2024-06-10T19:36:51Z",
"published" : "2024-04-24T20:01:31Z",
"aliases" : [ "CVE-2020-8557" ],
"summary" : "Denial of service in Kubernetes",
"details" : "The Kubernetes kubelet component in versions 1.1-1.16.12, 1.17.0-1.17.8 and 1.18.0-1.18.5 do not account for disk usage by a pod which writes to its own /etc/hosts file. The /etc/hosts file mounted in a pod by kubelet is not included by the kubelet eviction manager when calculating ephemeral storage usage by a pod. If a pod writes a large amount of data to the /etc/hosts file, it could fill the storage space of the node and cause the node to fail.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "k8s.io/kubernetes/pkg/kubelet"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.1.0"
}, {
"fixed" : "1.16.13"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "k8s.io/kubernetes/pkg/kubelet"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.17.0"
}, {
"fixed" : "1.17.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "k8s.io/kubernetes/pkg/kubelet"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.18.0"
}, {
"fixed" : "1.18.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-8557"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/issues/93032"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/pull/92921"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/commit/530f199b6e07cdaab32361e39709ac45f3fdc446"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/commit/68750fefd3df76b7b008ef7b18e8acd18d5c2f2e"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/commit/7fd849cffa2f93061fbcb0a6ae4efd0539b1e981"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-55qj-gj3x-jq9r"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kubernetes/kubernetes"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/g/kubernetes-security-announce/c/cB_JUsYEKyY/m/vVSO61AhBwAJ"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2024-2753"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20200821-0002"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-24T20:01:31Z",
"nvd_published_at" : "2020-07-23T17:15:00Z"
}
}