CVE-2021-25735 – k8s.io/kubernetes
Package
Manager: go
Name: k8s.io/kubernetes
Vulnerable Version: >=1.20.0 <1.20.6 || >=1.19.0 <1.19.10 || >=0 <1.18.18
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: 0.20685 pctl0.95374
Details
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.
Metadata
Created: 2021-05-28T19:49:59Z
Modified: 2022-03-22T18:43:41Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-g42g-737j-qx6j/GHSA-g42g-737j-qx6j.json
CWE IDs: ["CWE-284", "CWE-372", "CWE-863"]
Alternative ID: GHSA-g42g-737j-qx6j
Finding: F039
Auto approve: 1