CVE-2019-13139

    Dashboard / Vulnerabilities / CVE-2019-13139

    CVE-2019-13139

    Published: 22 Aug 2019Last Modified: 27 Aug 2026

    Summary:

    Details: In Docker before 18.09.4, an attacker who is capable of supplying or manipulating the build path for the "docker build" command would be able to gain command execution. An issue exists in the way "docker build" processes remote git URLs, and results in command injection into the underlying "git clone" command, leading to code execution in the context of the user executing the "docker build" command. This occurs because git ref can be misinterpreted as a flag.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    v18.09.4-rc1
    v18.09.3
    v18.09.3-rc1
    v18.09.1
    v18.09.1-rc1
    v18.09.1-beta2
    v18.09.1-beta1
    v18.09.0
    v18.09.0-rc1
    v18.09.0-beta5
    v18.09.0-beta3
    v18.09.0-ce-beta1
    v18.09.0-ce-tp6
    v18.09.0-ce-tp5
    v18.09.0-ce-tp4
    v18.09.0-ce-tp3
    v18.09.0-ce-tp0

    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