Original 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.
Affected software
- Docker Engine < 18.09.4 Fixed in: 18.09.4 exact match
Details
- Published
- 2019-08-23
- Last modified
- 2024-08-05
- CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- EPSS (30-day exploit probability)
- 2.04% (percentile 81)
References
- cve.org/CVE-2019-13139
- nvd.nist.gov/vuln/detail/CVE-2019-13139
- github.com/moby/moby/pull/38944
- docs.docker.com/engine/release-notes/#18094
- staaldraad.github.io/post/2019-07-16-cve-2019-13139-docker-build/
- www.debian.org/security/2019/dsa-4521
- security.netapp.com/advisory/ntap-20190910-0001/
- seclists.org/bugtraq/2019/Sep/21
- access.redhat.com/errata/RHBA-2019:3092
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.