github_osv/GHSA-q6pj-jh94-5fpr
OS Command Injection in docker-compose-remote-api
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.
gitlab/npm/docker-compose-remote-api/CVE-2020-7606
Injection Vulnerability
docker-compose-remote-api allows execution of arbitrary OS commands. Within `index.js` of the package, the variable `serviceName` passed to the function `exec(serviceName, cmd, fnStdout, fnStderr, fnExit)` can be controlled by users to provide OS commands without any sanitization.