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


0.0
low

Snyk CVSS

    Attack Complexity Low
    User Interaction Required

    Threat Intelligence

    EPSS 0.05% (16th percentile)
Expand this section
NVD
5 medium
Expand this section
Red Hat
3.3 low

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.