k8s.io/kubernetes
Affected
- introduced
1.20.0, fixed1.20.6(semver)
Fixed versions
1.20.6
Fix
- Fixed version
1.20.6go get k8s.io/[email protected]
Advisory
Also known as: CVE-2021-25735, GO-2022-0907
Access Restriction Bypass in kube-apiserver
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.
Medium Basis: The source's own band: MODERATE
1.20.0, fixed 1.20.6 (semver)1.20.6
1.20.6go get k8s.io/[email protected]1.19.0, fixed 1.19.10 (semver)1.19.10
1.19.10go get k8s.io/[email protected]0, fixed 1.18.18 (semver)1.18.18
1.18.18go get k8s.io/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0