CVE-2019-13139
 
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
En Docker versiones anteriores a 18.09.4, un atacante que sea capaz de suministrar o manipular la ruta de compilación para el comando "docker build" podría ser capaz de conseguir la ejecución de comandos. Existe un problema en la forma en que "docker build" procesa las URL de git remotas, y resulta en la inyección de comandos en el comando subyacente "git clone", lo que conlleva a la ejecución de código en el contexto del usuario ejecutando el comando "docker build". Esto ocurre porque git ref puede ser malinterpretado como un flag.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2019-07-01 CVE Reserved
- 2019-08-22 CVE Published
- 2024-08-04 CVE Updated
- 2024-08-04 First Exploit
- 2024-08-15 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CAPEC
References (7)
URL | Tag | Source |
---|---|---|
https://seclists.org/bugtraq/2019/Sep/21 | Mailing List | |
https://security.netapp.com/advisory/ntap-20190910-0001 | X_refsource_confirm |
URL | Date | SRC |
---|---|---|
https://staaldraad.github.io/post/2019-07-16-cve-2019-13139-docker-build | 2024-08-04 |
URL | Date | SRC |
---|---|---|
https://github.com/moby/moby/pull/38944 | 2020-08-24 |
URL | Date | SRC |
---|---|---|
https://access.redhat.com/errata/RHBA-2019:3092 | 2020-08-24 | |
https://docs.docker.com/engine/release-notes/#18094 | 2020-08-24 | |
https://www.debian.org/security/2019/dsa-4521 | 2020-08-24 |