Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. k8s.io/kubernetes
  4. ›
  5. CVE-2021-25735

CVE-2021-25735: Incorrect Authorization

December 16, 2021 (updated April 12, 2022)

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.

References

  • bugzilla.redhat.com/show_bug.cgi?id=1937562
  • github.com/advisories/GHSA-g42g-737j-qx6j
  • github.com/kubernetes/kubernetes/commit/00e81db174ef7aca497be5f42d87e46d14df2a90
  • github.com/kubernetes/kubernetes/issues/100096
  • github.com/kubernetes/kubernetes/pull/99946
  • groups.google.com/g/kubernetes-security-announce/c/FKAGqT4jx9Y
  • nvd.nist.gov/vuln/detail/CVE-2021-25735
  • pkg.go.dev/k8s.io/kubernetes@v1.23.5/cmd/kube-apiserver
  • sysdig.com/blog/cve-2021-25735-kubernetes-admission-bypass/

Code Behaviors & Features

Detect and mitigate CVE-2021-25735 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.20.0 up to 1.20.5, all versions starting from 1.19.0 up to 1.19.9, all versions up to 1.18.17

Fixed versions

  • 1.20.6
  • 1.18.18
  • 1.18.18

Solution

Upgrade to versions 1.20.6, 1.18.18, 1.18.18 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

go/k8s.io/kubernetes/CVE-2021-25735.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:04 +0000.