Skip to content

CVE-2020-7606 OS Command Injection in docker-compose-remote-api

CriticalCVSS 9.8 EPSS 2.7%
Published
Updated
Exploit status
No public exploit known
Technology
Docker

Description

docker-compose-remote-api through 0.1.4 allows execution of arbitrary commands. Within 'index.js' of the package, the function 'exec(serviceName, cmd, fnStdout, fnStderr, fnExit)' uses the variable 'serviceName' which can be controlled by users without any sanitization.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
docker-compose-remote-api project docker-compose-remote-api <= 0.1.4 after 0.1.4 Fixed
npm docker-compose-remote-api(npm) <= 0.1.4 after 0.1.4 Fixed

Affected products

ProductAffected versionsFixed in
npm docker-compose-remote-api(npm) <= 0.1.4 No fix listed
docker-compose-remote-api project docker-compose-remote-api <= 0.1.4 No fix listed

References