CVE-2019-13139
mediumpriority · track · 35EPSS 0.020 · 81 %ileEURUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixeddocker-2:1.13.1-104.git4ef4b30.el7.ppc64le as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-2:1.13.1-104.git4ef4b30.el7.s390x as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-2:1.13.1-104.git4ef4b30.el7.src as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-2:1.13.1-104.git4ef4b30.el7.x86_64 as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-client-2:1.13.1-104.git4ef4b30.el7.ppc64le as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-client-2:1.13.1-104.git4ef4b30.el7.s390x as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-client-2:1.13.1-104.git4ef4b30.el7.x86_64 as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-common-2:1.13.1-104.git4ef4b30.el7.ppc64le as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-common-2:1.13.1-104.git4ef4b30.el7.s390x as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-common-2:1.13.1-104.git4ef4b30.el7.x86_64 as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-debuginfo-2:1.13.1-104.git4ef4b30.el7.ppc64le as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-debuginfo-2:1.13.1-104.git4ef4b30.el7.s390x as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-debuginfo-2:1.13.1-104.git4ef4b30.el7.x86_64 as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-logrotate-2:1.13.1-104.git4ef4b30.el7.ppc64le as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-logrotate-2:1.13.1-104.git4ef4b30.el7.s390x as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-logrotate-2:1.13.1-104.git4ef4b30.el7.x86_64 as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-lvm-plugin-2:1.13.1-104.git4ef4b30.el7.ppc64le as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-lvm-plugin-2:1.13.1-104.git4ef4b30.el7.s390x as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-lvm-plugin-2:1.13.1-104.git4ef4b30.el7.x86_64 as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-novolume-plugin-2:1.13.1-104.git4ef4b30.el7.ppc64le as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-novolume-plugin-2:1.13.1-104.git4ef4b30.el7.s390x as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-novolume-plugin-2:1.13.1-104.git4ef4b30.el7.x86_64 as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-rhel-push-plugin-2:1.13.1-104.git4ef4b30.el7.ppc64le as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-rhel-push-plugin-2:1.13.1-104.git4ef4b30.el7.s390x as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-rhel-push-plugin-2:1.13.1-104.git4ef4b30.el7.x86_64 as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-v1.10-migrator-2:1.13.1-104.git4ef4b30.el7.ppc64le as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-v1.10-migrator-2:1.13.1-104.git4ef4b30.el7.s390x as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092 - Fixeddocker-v1.10-migrator-2:1.13.1-104.git4ef4b30.el7.x86_64 as a component of Red Hat Enterprise Linux 7 Extrasredhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHBA-2019:3092
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 4.6–8.4
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (33)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- RHBA-2019:3092Red Hat Bug Fix Advisory: docker bug fix update2019-10-16csaf · redhat_csafUS
Updated docker package that fixes two bugs is now available for Red Hat Enterprise Linux 7 Extras.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (27)
External citations — patches, advisories, analysis.
- https://access.redhat.com/errata/RHBA-2019:3092cnnvd
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2019-13139cnnvd
- https://docs.docker.com/engine/release-notes/#18094cnnvd
- https://github.com/moby/moby/pull/38944cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2019-13139cnnvd
- https://packetstormsecurity.com/files/154429/Debian-Security-Advisory-4521-1.htmlcnnvd
- https://pivotal.io/security/cve-2019-13139cnnvd
- https://seclists.org/bugtraq/2019/Sep/21cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan