Every CVE Search/ Get API key

CVE-2019-13139

In Docker before 18.09.4, an attacker who is capable of supplying or manipulating the build path...

8.4 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

2.04%Down 0.8 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.4

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.

Record
CVE-2019-13139
CVSS 3.0
8.4 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
4.6 MediumAV:L/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-78
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2019-13139
Updated
2026-11-02
EUVDEUVD-2019-4672 No score

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.

Record
EUVD-2019-4672
Updated
2026-11-03
GitHub AdvisoriesGHSA-33j8-c2xf-8225 8.4

In Docker before 18.09.4, an attacker who is capable of supplying or manipulating the build path...

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.

Record
GHSA-33j8-c2xf-8225
CVSS 3.0
8.4 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-78
Updated
2026-11-02
OSV 8.4

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.

Record
CVE-2019-13139
CVSS 3.0
8.4 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2019-13139 8.4

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.

Record
DEBIAN-CVE-2019-13139
CVSS 3.0
8.4 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHBA-2019:3092 6.7

Red Hat Bug Fix Advisory: docker bug fix update

Record
RHBA-2019:3092
CVSS 3.0
6.7 MediumCVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
docker.io
Debian:12
before 18.09.1+dfsg1-8
18.09.1+dfsg1-8
docker.io
Debian:13
before 18.09.1+dfsg1-8
18.09.1+dfsg1-8
docker.io
Debian:14
before 18.09.1+dfsg1-8
18.09.1+dfsg1-8
docker.io
Debian:10
before 18.09.1+dfsg1-7.1+deb10u1, plus listed versions
18.09.1+dfsg1-7.1
18.09.1+dfsg1-7.1+deb10u1
docker
Red Hat:rhel_extras_other:7
before 2:1.13.1-104.git4ef4b30.el7
2:1.13.1-104.git4ef4b30.el7
docker-client
Red Hat:rhel_extras_other:7
before 2:1.13.1-104.git4ef4b30.el7
2:1.13.1-104.git4ef4b30.el7
docker-common
Red Hat:rhel_extras_other:7
before 2:1.13.1-104.git4ef4b30.el7
2:1.13.1-104.git4ef4b30.el7
docker-debuginfo
Red Hat:rhel_extras_other:7
before 2:1.13.1-104.git4ef4b30.el7
2:1.13.1-104.git4ef4b30.el7
docker-logrotate
Red Hat:rhel_extras_other:7
before 2:1.13.1-104.git4ef4b30.el7
2:1.13.1-104.git4ef4b30.el7
docker-lvm-plugin
Red Hat:rhel_extras_other:7
before 2:1.13.1-104.git4ef4b30.el7
2:1.13.1-104.git4ef4b30.el7
docker-novolume-plugin
Red Hat:rhel_extras_other:7
before 2:1.13.1-104.git4ef4b30.el7
2:1.13.1-104.git4ef4b30.el7
docker-rhel-push-plugin
Red Hat:rhel_extras_other:7
before 2:1.13.1-104.git4ef4b30.el7
2:1.13.1-104.git4ef4b30.el7
docker-v1.10-migrator
Red Hat:rhel_extras_other:7
before 2:1.13.1-104.git4ef4b30.el7
2:1.13.1-104.git4ef4b30.el7

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2019-13139 is a high vulnerability (CVSS 8.4) in Docker, published August 22, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.04%, the 81st percentile. Fixed in docker.io 18.09.1+dfsg1-8.

References

Show 9 moreShow less
MoveEnter Open