ghsa-2575-pghm-6qqx
Vulnerability from github
Published
2022-02-15 01:57
Modified
2023-09-18 20:18
Severity
Summary
Kubernetes Unsafe Cacheing
Details

In Kubernetes v1.8.x-v1.14.x, schema info is cached by kubectl in the location specified by --cache-dir (defaulting to $HOME/.kube/http-cache), written with world-writeable permissions (rw-rw-rw-). If --cache-dir is specified and pointed at a different location accessible to other users/groups, the written files may be modified by other users/groups and disrupt the kubectl invocation.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "Go",
        "name": "k8s.io/client-go"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "1.8.0"
            },
            {
              "fixed": "1.12.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2019-11244"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-524",
      "CWE-732"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-07T17:22:21Z",
    "nvd_published_at": null,
    "severity": "MODERATE"
  },
  "details": "In Kubernetes v1.8.x-v1.14.x, schema info is cached by kubectl in the location specified by `--cache-dir` (defaulting to `$HOME/.kube/http-cache`), written with world-writeable permissions (`rw-rw-rw-`). If `--cache-dir` is specified and pointed at a different location accessible to other users/groups, the written files may be modified by other users/groups and disrupt the kubectl invocation. ",
  "id": "GHSA-2575-pghm-6qqx",
  "modified": "2023-09-18T20:18:54Z",
  "published": "2022-02-15T01:57:18Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-11244"
    },
    {
      "type": "WEB",
      "url": "https://github.com/kubernetes/kubernetes/issues/76676"
    },
    {
      "type": "WEB",
      "url": "https://github.com/kubernetes/kubernetes/pull/77874"
    },
    {
      "type": "WEB",
      "url": "https://github.com/kubernetes/kubernetes/pull/77874/commits/f228ae3364729caed59087e23c42868454bc3ff4"
    },
    {
      "type": "WEB",
      "url": "https://github.com/kubernetes/client-go/commit/790a4f63632139cf6731014d00a9a8338f1fbd7d"
    },
    {
      "type": "WEB",
      "url": "https://access.redhat.com/errata/RHSA-2019:3942"
    },
    {
      "type": "WEB",
      "url": "https://access.redhat.com/errata/RHSA-2020:0020"
    },
    {
      "type": "WEB",
      "url": "https://access.redhat.com/errata/RHSA-2020:0074"
    },
    {
      "type": "WEB",
      "url": "https://security.netapp.com/advisory/ntap-20190509-0002"
    },
    {
      "type": "WEB",
      "url": "http://www.securityfocus.com/bid/108064"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Kubernetes Unsafe Cacheing "
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...