CVE-2020-8561: K8s.io/kubernetes Confused Deputy Vulnerability
MODERATECVE-2020-8561 is a MODERATE (CVSS 4.1) confused deputy vulnerability (CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')) affecting K8s.io/kubernetes libraries in the Go ecosystem. The issue involves confused deputy in kubernetes. Remediation is available in the latest vendor maintenance releases.
CVE-2020-8561 at a Glance
Security Impact
CVSS: 4.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N).
How to Fix CVE-2020-8561
To remediate this vulnerability, upgrade all affected K8s.io/kubernetes 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 to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for k8s.io/kubernetes
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-8561, inspect your project dependencies for K8s.io/kubernetes:
inspect dependencies for k8s.io/kubernetes
Analyze the terminal output to locate any version of K8s.io/kubernetes in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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-441: Unintended Proxy or Intermediary ('Confused Deputy'), where the product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere. this causes the product to appear to be the source of the request, leading it to act as a proxy or other intermediary between the upstream component and the external actor. In K8s.io/kubernetes, 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-8561 Affected K8s.io/kubernetes Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
k8s.io/kubernetes
|
Go |
≤ 1.22.2
|
|
References
Frequently Asked Questions
What is CVE-2020-8561?
Which K8s.io/kubernetes versions are affected?
What version fixes CVE-2020-8561?
Is k8s.io/kubernetes affected?
What is the CVSS score of CVE-2020-8561?
What CWE is associated with CVE-2020-8561?
How can I check Go dependencies for CVE-2020-8561?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-74j8-88mm-7496",
"modified" : "2026-06-09T10:51:43Z",
"published" : "2021-09-21T18:28:21Z",
"aliases" : [ "CVE-2020-8561" ],
"summary" : "Confused Deputy in Kubernetes",
"details" : "A security issue was discovered in Kubernetes where actors that control the responses of MutatingWebhookConfiguration or ValidatingWebhookConfiguration requests are able to redirect kube-apiserver requests to private networks of the apiserver. If that user can view kube-apiserver logs when the log level is set to 10, they can view the redirected responses and headers in the logs.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "k8s.io/kubernetes"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.22.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-8561"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/issues/104720"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kubernetes/kubernetes"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/g/kubernetes-security-announce/c/RV2IhwcrQsY"
}, {
"type" : "WEB",
"url" : "https://kubernetes.io/blog/2026/05/26/reconciling-unfixed-kubernetes-cves"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20211014-0002"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-441", "CWE-610" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-09-21T14:53:38Z",
"nvd_published_at" : "2021-09-20T17:15:00Z"
}
}