PT-2019-3476

CVE-2019-13139

·

Published

2019-03-27

·

Updated

2020-12-22

Description by

CVSS 3.1
8.4
High
MetricsAV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Docker versions prior to 18.09.4
Description The issue is related to insufficient argument validation in the docker build command, allowing an attacker to potentially gain unauthorized access to information, cause a denial of service, or impact the availability of information. Specifically, the problem lies in how docker build processes remote git URLs, leading to command injection into the underlying git clone command. This can result in code execution in the context of the user executing the docker build command, as git ref can be misinterpreted as a flag.
Recommendations For Docker versions prior to 18.09.4, update to version 18.09.4 or later to resolve the issue. As a temporary workaround, consider restricting the use of the docker build command with remote git URLs to minimize the risk of exploitation. Avoid using potentially malicious git URLs in the docker build command until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
DSA-4521-1
ELSA-2019-4813
Found an issue in the description? Have something to add? Feel free to write us 👾