CVE-2021-25735: Validating Admission Webhook does not observe some previous fields

Published Mar 11, 2021
·
Updated

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

11 affected componentsFixes available
go/k8s.io/kubernetes<=1.18.17
1.18.18
go/k8s.io/kubernetes>=1.19.0<=1.19.9
1.19.10
go/k8s.io/kubernetes>=1.20.0<=1.20.5
1.20.6
redhat/openshift<0:4.8.0-202107161820.p0.git.051ac4f.assembly.stream.el7
0:4.8.0-202107161820.p0.git.051ac4f.assembly.stream.el7
redhat/kubernetes<1.21.0
1.21.0
redhat/kubernetes<1.20.6
1.20.6
redhat/kubernetes<1.19.10
1.19.10
redhat/kubernetes<1.18.18
1.18.18
Kubernetes kubernetes<1.18.18
Kubernetes kubernetes>=1.19.0<1.19.10
Kubernetes kubernetes>=1.20.0<1.20.6

Event History

Apr 14, 2021
CVE Published
12:00 AM
May 28, 2021
Advisory Published
07:49 PM
Sep 6, 2021
CVE Published
via MITRE·11:32 AM
Data Sourced
via MITRE·11:32 AM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2021-25735.

2

What is the severity of CVE-2021-25735?

The severity of CVE-2021-25735 is medium.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203