GHSA-6qfg-8799-r575

    Dashboard / Vulnerabilities / GHSA-6qfg-8799-r575

    GHSA-6qfg-8799-r575

    Published: 18 May 2021Last Modified: 21 Aug 2024

    Summary: Kubernetes kubectl cp Vulnerable to Symlink Attack

    Details: The Kubernetes kubectl cp command in versions 1.1-1.12, and versions prior to 1.13.11, 1.14.7, and 1.15.4 allows a combination of two symlinks provided by tar output of a malicious container to place a file outside of the destination directory specified in the kubectl cp invocation. This could be used to allow an attacker to place a nefarious file using a symlink, outside of the destination tree.

    Affected packages

    Package

    Name: k8s.io/kubernetes

    Purl: pkg:golang/k8s.io/kubernetes

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 1.13.10
    Fixed -1.13.11

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-6qfg-8799-r575 | CVE-DB