ADVISORIES

GitHub Advisory Database

GHSA-q6pj-jh94-5fpr

OS Command Injection in docker-compose-remote-api

Critical No fix available CVE-2020-7606

Details

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.

Affected packages

EcosystemPackageAffected versions
npmdocker-compose-remote-api
All versions up to and including 0.1.4

References