Vulnerabilities in pkg:golang/k8s.io/kubernetes
PACKAGECVE-2021-25736 is a MODERATE (CVSS 5.8) kube-proxy may unintentionally forward traffic vulnerability (General Security Weakness) affecting K8s.io/kubernetes libraries in the Go ecosystem. The issue involves kube-proxy may unintentionally forward traffic. Remediation is available by upgrading affected packages to version 1.21.0.
pkg:golang/k8s.io/kubernetes
Vulnerability advisories affecting package pkg:golang/k8s.io/kubernetes. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-35c7-w35f-xwgh | CVE-2021-25736 | MODERATE | Kube-proxy may unintentionally forward traffic |
| GHSA-qh36-44jv-c8xj | CVE-2020-8562 | LOW | Potential proxy IP restriction bypass in Kubernetes |
| GHSA-74j8-88mm-7496 | CVE-2020-8561 | MODERATE | Confused Deputy in Kubernetes |
| GHSA-vw47-mr44-3jf9 | CVE-2021-25740 | LOW | Confused Deputy in Kubernetes |
| GHSA-j9wf-vvm6-4r9w | CVE-2020-8554 | MODERATE | Unverified Ownership in Kubernetes |
| GHSA-pmqp-h87c-mr78 | CVE-2019-11253 | HIGH | XML Entity Expansion and Improper Input Validation in Kubernetes API server |
| GHSA-2jq6-ffph-p4h8 | CVE-2018-1002100 | MODERATE | Kubernetes arbitrary file overwrite |
| GHSA-q4rr-64r9-fwgf | CVE-2019-1002100 | MODERATE | Kubernetes DoS Vulnerability |
| GHSA-r6j8-c6r2-37rr | CVE-2025-13281 | MODERATE | kube-controller-manager is vulnerable to half-blind Server Side Request Forgery through in-tree Portworx StorageClass |
| GHSA-jgfp-53c3-624w | CVE-2025-0426 | MODERATE | Node Denial of Service via kubelet Checkpoint API |
| GHSA-4x4m-3c2p-qppc | CVE-2025-5187 | MODERATE | Kubernetes Nodes can delete themselves by adding an OwnerReference |
| GHSA-hj2p-8wj8-pfq4 | CVE-2025-4563 | LOW | kubernetes allows nodes to bypass dynamic resource allocation authorization checks |
| GHSA-gc2p-g4fg-29vh | CVE-2019-11243 | HIGH | Kubernetes did not effectively clear service account credentials |
| GHSA-3wgm-2gw2-vh5m | CVE-2025-1767 | MODERATE | Kubernetes GitRepo Volume Inadvertent Local Repository Access |
| GHSA-vv39-3w5q-974q | CVE-2024-9042 | MODERATE | Kubernetes allows Command Injection affecting Windows nodes via nodes/*/logs/query API |
| GHSA-jmrx-5g74-6v2f | CVE-2019-11250 | MODERATE | Kubernetes client-go library logs may disclose credentials to unauthorized users |
| GHSA-q78c-gwqw-jcmc | CVE-2023-3955 | HIGH | Kubernetes privilege escalation vulnerability |
| GHSA-7fxm-f474-hf8w | CVE-2023-3676 | HIGH | Kubernetes privilege escalation vulnerability |
| GHSA-cgcv-5272-97pr | CVE-2023-2728 | MODERATE | Kubernetes mountable secrets policy bypass |
| GHSA-qc2g-gmh6-95p4 | CVE-2023-2727 | MODERATE | kube-apiserver vulnerable to policy bypass |
| GHSA-27wf-5967-98gx | CVE-2024-10220 | HIGH | Kubernetes kubelet arbitrary command execution |
| GHSA-xc8m-28vv-4pjc | CVE-2023-2431 | MODERATE | Kubelet vulnerable to bypass of seccomp profile enforcement |
| GHSA-h7wq-jj8r-qm7p | CVE-2024-0793 | HIGH | Kubernetes Nil pointer dereference in KCM after v1 HPA patch request |
| GHSA-82m2-cv7p-4m75 | CVE-2024-5321 | HIGH | Kubernetes sets incorrect permissions on Windows containers logs |
| GHSA-hq6q-c2x6-hmch | CVE-2023-5528 | HIGH | Kubernetes Improper Input Validation vulnerability |
| GHSA-pxhw-596r-rwq5 | CVE-2024-3177 | LOW | Kubernetes allows bypassing mountable secrets policy imposed by the ServiceAccount admission plugin |
| GHSA-33c5-9fx5-fvjm | CVE-2020-8559 | MODERATE | Privilege Escalation in Kubernetes |
| GHSA-8cfg-vx93-jvxw | CVE-2020-8565 | MODERATE | Kubernetes client-go vulnerable to Sensitive Information Leak via Log File |
| GHSA-8mjg-8c8g-6h85 | CVE-2020-8564 | MODERATE | Kubernetes Sensitive Information leak via Log File |
| GHSA-2h9c-34v6-3qmr | CVE-2015-7561 | LOW | Kubernetes in OpenShift3 Access Control Misconfiguration |
| GHSA-f9jg-8p32-2f55 | CVE-2021-25743 | LOW | kubectl ANSI escape characters not filtered |
| GHSA-wqwf-x5cj-rg56 | CVE-2018-1002101 | MODERATE | Kubernetes Arbitrary Command Injection |
| GHSA-x6mj-w4jf-jmgw | CVE-2020-8555 | MODERATE | Server Side Request Forgery (SSRF) in Kubernetes |
| GHSA-6qfg-8799-r575 | CVE-2019-11251 | MODERATE | Kubernetes kubectl cp Vulnerable to Symlink Attack |
| GHSA-34jx-wx69-9x8v | CVE-2019-1002101 | MODERATE | Symlink Attack in kubectl cp |
| GHSA-2jx2-76rc-2v7v | CVE-2017-1000056 | CRITICAL | Kubernetes Privilege Escalation |
| GHSA-mm7g-f2gg-cw8g | CVE-2017-1002102 | MODERATE | Kubernetes arbitrary file overwrite |
| GHSA-jp32-vmm6-3vf5 | CVE-2015-5305 | MODERATE | Directory Traversal in Kubernetes |
| GHSA-qhm4-jxv7-j9pq | CVE-2020-8551 | MODERATE | Allocation of Resources Without Limits or Throttling and Uncontrolled Memory Allocation in Kubernetes |
| GHSA-wqv3-8cm6-h6wg | CVE-2020-8558 | HIGH | Improper Authentication in Kubernetes |
| GHSA-g42g-737j-qx6j | CVE-2021-25735 | MODERATE | Access Restriction Bypass in kube-apiserver |
| GHSA-f5f7-6478-qm6p | CVE-2021-25741 | HIGH | Files or Directories Accessible to External Parties in kubernetes |
| GHSA-mfv7-gq43-w965 | CVE-2021-25737 | MODERATE | Incomplete List of Disallowed Inputs in Kubernetes |
CVE-2021-25736 at a Glance
Security Impact
CVSS: 5.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:N).
How to Fix CVE-2021-25736
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 1.21.0
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-2021-25736, 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 1.21.0), 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 General Security Weakness. 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-2021-25736 Affected K8s.io/kubernetes Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
k8s.io/kubernetes
|
Go |
< 1.21.0
|
1.21.0
|
References
Frequently Asked Questions
What is CVE-2021-25736?
Which K8s.io/kubernetes versions are affected?
What version fixes CVE-2021-25736?
Is k8s.io/kubernetes affected?
What is the CVSS score of CVE-2021-25736?
What CWE is associated with CVE-2021-25736?
How can I check Go dependencies for CVE-2021-25736?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-35c7-w35f-xwgh",
"modified" : "2026-07-06T16:26:45Z",
"published" : "2023-10-30T03:30:15Z",
"aliases" : [ "CVE-2021-25736" ],
"summary" : "Kube-proxy may unintentionally forward traffic",
"details" : "Kube-proxy on Windows can unintentionally forward traffic to local processes listening on the same port (`spec.ports[*].port`) as a LoadBalancer Service when the LoadBalancer controller does not set the `status.loadBalancer.ingress[].ip` field. Clusters \nwhere the LoadBalancer controller sets the `status.loadBalancer.ingress[].ip` field are unaffected.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "k8s.io/kubernetes"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.21.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-25736"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/pull/99958"
}, {
"type" : "WEB",
"url" : "https://github.com/kubernetes/kubernetes/commit/b014610de3e5cf1bb0f7844b5758d29fc18b75e6"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kubernetes/kubernetes"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/g/kubernetes-security-announce/c/lIoOPObO51Q/m/O15LOazPAgAJ"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20231221-0003"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-10-31T22:23:04Z",
"nvd_published_at" : "2023-10-30T03:15:07Z"
}
}