Improper Input Validation Affecting k8s.io/kubernetes/pkg/kubectl/cmd/cp package, versions <1.10.0-rc.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (23rd 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-K8SIOKUBERNETESPKGKUBECTLCMDCP-3043377
  • published14 Oct 2022
  • disclosed14 Oct 2022
  • creditMichael Hanselmann

Introduced: 14 Oct 2022

CVE-2018-1002100  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade k8s.io/kubernetes/pkg/kubectl/cmd/cp to version 1.10.0-rc.1 or higher.

Overview

k8s.io/kubernetes/pkg/kubectl/cmd/cp is a Production-Grade Container Scheduling and Management.

Affected versions of this package are vulnerable to Improper Input Validation due to the kubectl cp command which insecurely handles tar data returned from the container, leading to arbitrary local files overwrite.

CVSS Scores

version 3.1