CVE-2019-13139
Last modified
CVE-2019-13139 is a vulnerability of currently unknown severity. 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. EPSS estimates a 1.94% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Docker | Docker | < 18.09.4 |
References
- https://docs.docker.com/engine/release-notes/#18094Release Notes, Vendor Advisory
- https://github.com/moby/moby/pull/38944Patch, Third Party Advisory
- https://staaldraad.github.io/post/2019-07-16-cve-2019-13139-docker-build/Exploit, Third Party Advisory
- https://docs.docker.com/engine/release-notes/#18094Release Notes, Vendor Advisory
- https://github.com/moby/moby/pull/38944Patch, Third Party Advisory
- https://staaldraad.github.io/post/2019-07-16-cve-2019-13139-docker-build/Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-13139?
How severe is CVE-2019-13139?
How do I fix CVE-2019-13139?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-13132In ZeroMQ libzmq before 4.0.9, 4.1.x before 4.1.7, and 4.2.x…9.8
- CVE-2019-13133ImageMagick before 7.0.8-50 has a memory leak vulnerability …5.5
- CVE-2019-13134ImageMagick before 7.0.8-50 has a memory leak vulnerability …5.5
- CVE-2019-13135ImageMagick before 7.0.8-50 has a "use of uninitialized valu…8.8
- CVE-2019-13136ImageMagick before 7.0.8-50 has an integer overflow vulnerab…
- CVE-2019-13137ImageMagick before 7.0.8-50 has a memory leak vulnerability …6.5
- CVE-2019-1314A security feature bypass vulnerability exists in Windows 10…6.8
- CVE-2019-13140Inteno EG200 EG200-WU7P1U_ADAMO3.16.4-190226_1650 routers ha…6.5
- CVE-2019-13142The RzSurroundVADStreamingService (RzSurroundVADStreamingSer…
- CVE-2019-13143An HTTP parameter pollution issue was discovered on Shenzhen…
- CVE-2019-13144myTinyTodo 1.3.3 through 1.4.3 allows CSV Injection. This is…9.8
- CVE-2019-13145Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
Are you affected by CVE-2019-13139?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
