Access Restriction Bypass in kube-apiserver
Moderate severity
GitHub Reviewed
Published
May 28, 2021
to the GitHub Advisory Database
•
Updated Jul 31, 2023
Package
Affected versions
>= 1.20.0, <= 1.20.5
>= 1.19.0, <= 1.19.9
<= 1.18.17
Patched versions
1.20.6
1.19.10
1.18.18
Description
Published to the GitHub Advisory Database
May 28, 2021
Published by the National Vulnerability Database
Sep 6, 2021
Reviewed
Mar 22, 2022
Last updated
Jul 31, 2023
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.
References