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.
CVSS Details
- CVSS 3.1 Base Score: 6.7
- CVSS 3.0 Base Score: 8.4
- CVSS 3.0 Vector: (CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Amazon Linux Ami 2 | — | Upgrade docker-debuginfoUpgrade docker | Jul 4, 2022 | Aug 22, 2019 |
| Amazon_linux | — | Upgrade docker | Nov 7, 2019 | Aug 22, 2019 |
| Debian | — | Upgrade docker.io | Oct 24, 2019 | Aug 22, 2019 |
| Docker_ee | — | Upgrade Docker EE to version 18.09.4 | Nov 25, 2019 | Aug 22, 2019 |
| Oracle_linux | — | Upgrade docker-engine | Oct 4, 2019 | Mar 26, 2019 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Aug 22, 2019 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub