CVE-2021-25736 Windows kube-proxy LoadBalancer contention
Windows kube-proxy may forward LoadBalancer traffic to local processes if the controller omits the ingress IP, allowing local access to internal services.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-25736?
CVE-2021-25736 is a medium-severity server-side request forgery vulnerability in Kubernetes Kubernetes, published on 30 Oct 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
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 where the LoadBalancer controller sets the “status.loadBalancer.ingress[].ip” field are unaffected.
Weakness: CWE-114
Which versions are affected by CVE-2021-25736?
3 open source packages ship an affected version, including k8s.io/kubernetes. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
k8s.io/kubernetes Go | All versions | 1.21.0 |
k8s.io/kubernetes Go | All versions | 1.21.0 |
k8s.io/kubernetes Go | All versions | 1.21.0 |
Products include Kubernetes Kubernetes.
How do I fix CVE-2021-25736?
Upgrade k8s.io/kubernetes to 1.21.0 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2021-25736 being exploited?
There is no known exploitation of CVE-2021-25736 in the wild and no public exploit code.
Other vulnerabilities in Kubernetes Kubernetes
- CVE-2018-1002105 Privilege Escalation in Kubernetes
- CVE-2017-1000056 Kubernetes Privilege Escalation
- CVE-2016-1906 Authorization bypass in Openshift
- CVE-2023-3676 Kubernetes - Windows nodes - Insufficient input sanitization leads to privilege escalation
- CVE-2023-3955 Kubernetes - Windows nodes - Insufficient input sanitization leads to privilege escalation
Sources
Also known as GHSA-35c7-w35f-xwgh, GO-2023-2159.