Rapid7 Vulnerability & Exploit Database

Docker EE: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CVE-2019-13139)

Back to Search

Docker EE: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CVE-2019-13139)

Severity
5
CVSS
(AV:L/AC:L/Au:N/C:P/I:P/A:P)
Published
08/22/2019
Created
11/30/2019
Added
11/25/2019
Modified
08/26/2020

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.

Solution(s)

  • docker-ee-upgrade-18_09_4

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;