Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/kubernetes/kubernetes/pkg/kubectl/cmd/cp: GHSA-34jx-wx69-9x8v #1304

Closed
GoVulnBot opened this issue Jan 9, 2023 · 1 comment

Comments

@GoVulnBot
Copy link

In GitHub Security Advisory GHSA-34jx-wx69-9x8v, there is a vulnerability in the following Go packages or modules:

Unit Fixed Vulnerable Ranges
github.com/kubernetes/kubernetes/pkg/kubectl/cmd/cp 1.13.5 >= 1.13.0, < 1.13.5

Cross references:

See doc/triage.md for instructions on how to triage this report.

modules:
  - module: TODO
    versions:
      - introduced: 1.13.0
        fixed: 1.13.5
    packages:
      - package: github.com/kubernetes/kubernetes/pkg/kubectl/cmd/cp
  - module: TODO
    versions:
      - introduced: 1.12.0
        fixed: 1.12.7
    packages:
      - package: github.com/kubernetes/kubernetes/pkg/kubectl/cmd/cp
  - module: TODO
    versions:
      - fixed: 1.11.9
    packages:
      - package: github.com/kubernetes/kubernetes/pkg/kubectl/cmd/cp
description: The kubectl cp command allows copying files between containers and the
    user machine. To copy files from a container, Kubernetes creates a tar inside
    the container, copies it over the network, and kubectl unpacks it on the user’s
    machine. If the tar binary in the container is malicious, it could run any code
    and output unexpected, malicious results. An attacker could use this to write
    files to any path on the user’s machine when kubectl cp is called, limited only
    by the system permissions of the local user. The untar function can both create
    and follow symbolic links. The issue is resolved in kubectl v1.11.9, v1.12.7,
    v1.13.5, and v1.14.0.
cves:
  - CVE-2019-1002101
ghsas:
  - GHSA-34jx-wx69-9x8v

@tatianab
Copy link
Contributor

tatianab commented Jan 9, 2023

Duplicate of #782

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants