World Writable Files Affecting k8s.io/client-go/discovery/cached/disk package, versions >=1.8.0 <1.12.9


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.08% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-GOLANG-K8SIOCLIENTGODISCOVERYCACHEDDISK-174838
  • published 25 Apr 2019
  • disclosed 22 Apr 2019
  • credit jzebor

How to fix?

Upgrade k8s.io/client-go/discovery/cached/disk to version 1.12.9 or higher.

Overview

k8s.io/client-go/discovery/cached/disk is a Go clients for talking to a kubernetes cluster.

Affected versions of this package are vulnerable to World Writable Files. When using the cached location specified by the --cache-dir option, all cache files written to this directory are written with world-writeable (rw-rw-rw-) permissions. The default location of this directory is $HOME/.kube/http-cache.

CVSS Scores

version 3.1
Expand this section

Snyk

2.8 low
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

NVD

5 medium