QID 375921

Date Published: 2021-10-06

QID 375921: Kubernetes Improper Authorization Vulnerability

Kubernetes is an open-source container-orchestration system for automating deployment, scaling and management of containerized applications.
Affected version:
Kubernetes versions v1.22.0 - v1.22.1
Kubernetes versions v1.21.0 - v1.21.4
Kubernetes versions v1.20.0 - v1.20.10
Kubernetes versions prior to and including v1.19.14

QID Detection Logic:(Authenticated)
The QID uses 'kubectl version' command to check for vulnerable versions of Kubernetes and also checks if 'kube-apiserver' is running or not.

QID Detection Logic:(Unauthenticated)
The detection uses the response from requests HTTP GET /openapi/v2 and HTTP GET /version to check for the version of Kubernetes.

Successful exploitation of the vulnerability may allow an attacker to create a container with subpath volume mounts to access files and directories outside of the volume, including on the host filesystem.

  • CVSS V3 rated as Critical - 8.1 severity.
  • CVSS V2 rated as Medium - 5.5 severity.
  • Solution
    As patched version is not available, customers are advised to apply mitigation. For more information please visit here

    Workaround:
    To mitigate this vulnerability without upgrading kubelet, you can disable the VolumeSubpath feature gate on kubelet and kube-apiserver, and remove any existing Pods making use of the feature.
    You can also use admission control to prevent less-trusted users from running containers as root to reduce the impact of successful exploitation.

    CVEs related to QID 375921

    Software Advisories
    Advisory ID Software Component Link
    NA URL Logo groups.google.com/g/kubernetes-security-announce/c/nyfdhK24H7s
    © CVE.report 2026 |

    Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

    CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

    Free CVE JSON API cve.report/api

    CVE.report and Source URL Uptime Status status.cve.report