World Writable Files Affecting github.com/kubernetes/client-go/discovery/cached/disk Open this link in a new tab package, versions >=1.8.0 <1.12.9


0.0
low
  • Attack Complexity

    Low

  • User Interaction

    Required

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-GITHUBCOMKUBERNETESCLIENTGODISCOVERYCACHEDDISK-174837

  • published

    25 Apr 2019

  • disclosed

    22 Apr 2019

  • credit

    jzebor

How to fix?

Upgrade github.com/kubernetes/client-go/discovery/cached/disk to version 1.12.9 or higher.

Overview

github.com/kubernetes/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.