CVE-2021-25735: Validating Admission Webhook does not observe some previous fields
A security issue was discovered in kube-apiserver that could allow node updates to bypass a Validating Admission Webhook. Clusters are only affected by this vulnerability if they run a Validating Admission Webhook for Nodes that denies admission based at least partially on the old state of the Node object. Validating Admission Webhook does not observe some previous fields.
Other sources
A security issue was discovered in kube-apiserver that could allow node updates to bypass a Validating Admission Webhook. You are only affected by this vulnerability if you run a Validating Admission Webhook for Nodes that denies admission based at least partially on the old state of the Node object.
Note: This only impacts validating admission plugins that rely on old values in certain fields, and does not impact calls from kubelets that go through the built-in NodeRestriction admission plugin.
Upstream placeholder issue:
https://github.com/kubernetes/kubernetes/issues/100096
Upstream PR:
https://github.com/kubernetes/kubernetes/pull/99946
— Red Hat
A vulnerability in Kubernetes kube-apiserver could allow node updates to bypass a Validating Admission Webhook and allow unauthorized node updates. The information that is provided to the admission controller could contain old configurations that overwrite values used for validation. Since the overwriting takes place before the validation, this could lead the admission controller to accept requests that should be blocked. The vulnerability can be exploited when an update action on node resources is performed and an admission controller is in place and configured to validate the action.
Users are only affected by this vulnerability if they are running a Validating Admission Webhook for Nodes that denies admission based partially on the old state of the Node object. It only impacts validating admission plugins that rely on old values in certain fields and does not impact calls from kubelets that go through the built-in NodeRestriction admission plugin.
A vulnerability was found in Kubernetes' kube-apiserver that could allow Node updates to bypass a Validating Admission Webhook. An authenticated user could exploit this by modifying Node properties to values that should have been prevented by registered admission webhooks.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the vulnerability ID for this issue?
The vulnerability ID for this issue is CVE-2021-25735.
What is the severity of CVE-2021-25735?
The severity of CVE-2021-25735 is medium.
How does CVE-2021-25735 affect Kubernetes kube-apiserver?
CVE-2021-25735 affects Kubernetes kube-apiserver by allowing node updates to bypass a Validating Admission Webhook and allow unauthorized node updates.
What versions of Kubernetes kube-apiserver are affected by CVE-2021-25735?
Versions up to and including 1.18.17, 1.19.9, 1.20.5, and 1.21.0 are affected by CVE-2021-25735.
How can I fix CVE-2021-25735?
To fix CVE-2021-25735, update Kubernetes kube-apiserver to version 1.18.18, 1.19.10, 1.20.6, or 1.21.0.