Skip to content

← Public intelligence

Go package

k8s.io/kubernetes

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

37 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 5.9GoPublished

    Kubernetes Arbitrary Command Injection

    CVE-2018-1002101 · GHSA-wqwf-x5cj-rg56

    Affected
    • Go k8s.io/kubernetes >= 1.9.0, < 1.9.10; >= 1.10.0, < 1.10.6; >= 1.11.0, < 1.11.2
    Fixed in
    1.10.61.11.21.9.10· Vendor fix available
    Issue
    In Kubernetes versions 1.9.0-1.9.9, 1.10.0-1.10.5, and 1.11.0-1.11.1, user input was handled insecurely while setting up volume mounts on Windows nodes, which could lead to command line argument injection. Specific Go Packages Affected k8s.io/kubernetes/pkg/util/mount

    Recommended action: Upgrade to 1.11.2, 1.10.6 or 1.9.10 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 6.5GoPublished

    Directory Traversal in Kubernetes

    CVE-2015-5305 · GHSA-jp32-vmm6-3vf5

    Affected
    • Go k8s.io/kubernetes < 1.1.1
    Fixed in
    1.1.1· Vendor fix available
    Issue
    Directory traversal vulnerability in Kubernetes, as used in Red Hat OpenShift Enterprise 3.0, allows attackers to write to arbitrary files via a crafted object type name, which is not properly handled before passing it to etcd.

    Recommended action: Upgrade to 1.1.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. Medium, CVSS 6.3GoPublished

    Server Side Request Forgery (SSRF) in Kubernetes

    CVE-2020-8555 · GHSA-x6mj-w4jf-jmgw

    Affected
    • Go k8s.io/kubernetes >= 1.18.0, < 1.18.1; >= 1.17.0, < 1.17.4; >= 1.16.0, < 1.16.9; < 1.15.12
    Fixed in
    1.15.121.16.91.17.41.18.1· Vendor fix available
    Issue
    The Kubernetes kube-controller-manager in versions v1.0-1.14, versions prior to v1.15.12, v1.16.9, v1.17.5, and version v1.18.0 are vulnerable to a Server Side Request Forgery (SSRF) that allows certain authorized users to leak up to 500 bytes of arbitrary information from unprotected endpoints within the master's host network (such as link-local or loopback services).

    Recommended action: Upgrade to 1.18.1, 1.17.4, 1.16.9 or 1.15.12 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. Medium, CVSS 5.5GoPublished

    Symlink Attack in kubectl cp

    CVE-2019-1002101 · GHSA-34jx-wx69-9x8v

    Affected
    • Go k8s.io/kubernetes < 1.11.9; >= 1.12.0, < 1.12.7; >= 1.13.0, < 1.13.5
    Fixed in
    1.13.51.12.71.11.9· Vendor fix available
    Issue
    The kubectl cp command allows copying files between containers and the user machine. To copy files from a container, Kubernetes creates a tar inside the container, copies it over the network, and kubectl unpacks it on the user’s machine. If the tar binary in the container is malicious, it could run any code and output unexpected, malicious results. An attacker could use this to write files to any path on the user’s machine when kubectl cp is called, limited only by the system permissions of the local user. The untar function can both create and follow symbolic links. The issue is resolved in kubectl v1.11.9, v1.12.7, v1.13.5, and v1.14.0.

    Recommended action: Upgrade to 1.13.5, 1.12.7 or 1.11.9 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. Medium, CVSS 4.3GoPublished

    Allocation of Resources Without Limits or Throttling and Uncontrolled Memory Allocation in Kubernetes

    CVE-2020-8551 · GHSA-qhm4-jxv7-j9pq

    Affected
    • Go k8s.io/kubernetes >= 1.15.0, < 1.15.10; >= 1.16.0, < 1.16.6; >= 1.17.0, < 1.17.2
    Fixed in
    1.15.101.16.61.17.2· Vendor fix available
    Issue
    The Kubelet component in versions 1.15.0-1.15.9, 1.16.0-1.16.6, and 1.17.0-1.17.2 has been found to be vulnerable to a denial of service attack via the kubelet API, including the unauthenticated HTTP read-only API typically served on port 10255, and the authenticated HTTPS API typically served on port 10250.

    Recommended action: Upgrade to 1.17.2, 1.16.6 or 1.15.10 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. Low, CVSS 3.0GoPublished

    kubectl ANSI escape characters not filtered

    CVE-2021-25743 · GHSA-f9jg-8p32-2f55

    Affected
    • Go k8s.io/kubernetes < 1.26.0-alpha.3
    Fixed in
    1.26.0-alpha.3· Vendor fix available
    Issue
    kubectl (k8s.io/kubernetes/pkg/kubectl) does not neutralize escape, meta or control sequences contained in the raw data it outputs to a terminal. This includes but is not limited to the unstructured string fields in objects such as Events.

    Recommended action: Upgrade to 1.26.0-alpha.3 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  7. High, CVSS 8.1GoPublished

    Files or Directories Accessible to External Parties in kubernetes

    CVE-2021-25741 · GHSA-f5f7-6478-qm6p

    Affected
    • Go k8s.io/kubernetes < 1.19.15; >= 1.20.0, < 1.20.11; >= 1.21.0, < 1.21.5; >= 1.22.0, < 1.22.2
    Fixed in
    1.21.51.19.151.22.21.20.11· Vendor fix available
    Issue
    A security issue was discovered in Kubernetes where a user may be able to create a container with subpath volume mounts to access files & directories outside of the volume, including on the host filesystem.

    Recommended action: Upgrade to 1.22.2, 1.21.5, 1.20.11 or 1.19.15 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  8. Medium, CVSS 4.8GoPublished

    Incomplete List of Disallowed Inputs in Kubernetes

    CVE-2021-25737 · GHSA-mfv7-gq43-w965

    Affected
    • Go k8s.io/kubernetes >= 1.16.0, < 1.18.19; >= 1.19.0, < 1.19.11; >= 1.20.0, < 1.20.7; >= 1.21.0, <= 1.21.0
    Fixed in
    1.19.111.18.191.21.11.20.7· Vendor fix available
    Issue
    A security issue was discovered in Kubernetes where a user may be able to redirect pod traffic to private networks on a Node. Kubernetes already prevents creation of Endpoint IPs in the localhost or link-local range, but the same validation was not performed on EndpointSlice IPs.

    Recommended action: Upgrade to 1.21.1, 1.20.7, 1.19.11 or 1.18.19 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  9. Medium, CVSS 6.5GoPublished

    Access Restriction Bypass in kube-apiserver

    CVE-2021-25735 · GHSA-g42g-737j-qx6j

    Affected
    • Go k8s.io/kubernetes >= 1.20.0, <= 1.20.5; >= 1.19.0, <= 1.19.9; <= 1.18.17
    Fixed in
    1.18.181.19.101.20.6· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 1.20.6, 1.19.10 or 1.18.18 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  10. High, CVSS 7.5GoPublished

    XML Entity Expansion and Improper Input Validation in Kubernetes API server

    CVE-2019-11253 · GHSA-pmqp-h87c-mr78

    Affected
    • Go k8s.io/kubernetes >= 1.0.0, < 1.13.12; >= 1.14.0, < 1.14.8; >= 1.15.0, < 1.15.5; >= 1.16.0, < 1.16.2
    Fixed in
    1.16.21.15.51.14.81.13.12· Vendor fix available
    Issue
    Improper input validation in the Kubernetes API server in versions v1.0-1.12 and versions prior to v1.13.12, v1.14.8, v1.15.5, and v1.16.2 allows authorized users to send malicious YAML or JSON payloads, causing the API server to consume excessive CPU or memory, potentially crashing and becoming unavailable. Prior to v1.14.0, default RBAC policy authorized anonymous users to submit requests that could trigger this vulnerability. Clusters upgraded from a version prior to v1.14.0 keep the more permissive policy by default for backwards compatibility. Specific Go Packages Affected k8s.io/kubernetes/pkg/apiserver

    Recommended action: Upgrade to 1.16.2, 1.15.5, 1.14.8 or 1.13.12 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  11. Medium, CVSS 5.7GoPublished

    Kubernetes kubectl cp Vulnerable to Symlink Attack

    CVE-2019-11251 · GHSA-6qfg-8799-r575

    Affected
    • Go k8s.io/kubernetes >= 1.13.10, < 1.13.11; >= 1.14.6, < 1.14.7; >= 1.15.3, < 1.16.0
    Fixed in
    1.14.71.16.01.13.11· Vendor fix available
    Issue
    The Kubernetes kubectl cp command in versions 1.1-1.12, and versions prior to 1.13.11, 1.14.7, and 1.15.4 allows a combination of two symlinks provided by tar output of a malicious container to place a file outside of the destination directory specified in the kubectl cp invocation. This could be used to allow an attacker to place a nefarious file using a symlink, outside of the destination tree.

    Recommended action: Upgrade to 1.16.0, 1.14.7 or 1.13.11 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  12. Critical, CVSS 9.8GoPublished

    Kubernetes Privilege Escalation

    CVE-2017-1000056 · GHSA-2jx2-76rc-2v7v

    Affected
    • Go k8s.io/kubernetes >= 1.5.0, < 1.5.5
    Fixed in
    1.5.5· Vendor fix available
    Issue
    Kubernetes version 1.5.0-1.5.4 is vulnerable to a privilege escalation in the PodSecurityPolicy admission plugin resulting in the ability to make use of any existing PodSecurityPolicy object.

    Recommended action: Upgrade to 1.5.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →