High severity8.4NVD Advisory· Published Aug 22, 2019· Updated Jun 17, 2026
CVE-2019-13139
CVE-2019-13139
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
15- Docker/Dockerdescription
- osv-coords12 versionspkg:apk/chainguard/py3.10-dockerpkg:apk/chainguard/py3.11-dockerpkg:apk/chainguard/py3.12-dockerpkg:apk/chainguard/py3.13-dockerpkg:apk/chainguard/py3-dockerpkg:apk/chainguard/py3-supported-dockerpkg:apk/wolfi/py3.10-dockerpkg:apk/wolfi/py3.11-dockerpkg:apk/wolfi/py3.12-dockerpkg:apk/wolfi/py3.13-dockerpkg:apk/wolfi/py3-dockerpkg:apk/wolfi/py3-supported-docker
< 0+ 11 more
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
Patches
Vulnerability mechanics
References
7- github.com/moby/moby/pull/38944nvdPatchThird Party Advisory
- staaldraad.github.io/post/2019-07-16-cve-2019-13139-docker-build/nvdExploitThird Party Advisory
- docs.docker.com/engine/release-notes/nvdRelease NotesVendor Advisory
- access.redhat.com/errata/RHBA-2019:3092nvd
- seclists.org/bugtraq/2019/Sep/21nvd
- security.netapp.com/advisory/ntap-20190910-0001/nvd
- www.debian.org/security/2019/dsa-4521nvd
News mentions
0No linked articles in our index yet.