Skip to content

CVE-2019-13139 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 "doc...

HighCVSS 8.4 EPSS 2.0%
Published
Updated
Exploit status
No public exploit known
Technology
DockerDebian

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.

Upgrade path

4 packages: 4 fixed.

PackageAffectedFixed inStatus
debian/docker.io(Debian 12) < 18.09.1+dfsg1-8 18.09.1+dfsg1-8 Fixed
debian/docker.io(Debian 13) < 18.09.1+dfsg1-8 18.09.1+dfsg1-8 Fixed
debian/docker.io(Debian 14) < 18.09.1+dfsg1-8 18.09.1+dfsg1-8 Fixed
docker github.com/docker/docker < 18.09.4 18.09.4 Fixed

Affected products

ProductAffected versionsFixed in
debian/docker.io(Debian:12) < 18.09.1+dfsg1-8 18.09.1+dfsg1-8
debian/docker.io(Debian:13) < 18.09.1+dfsg1-8 18.09.1+dfsg1-8
debian/docker.io(Debian:14) < 18.09.1+dfsg1-8 18.09.1+dfsg1-8
docker github.com/docker/docker < 18.09.4 18.09.4

References