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.
problem types: Command Injection
affected:
{
product: docker-compose-remote-api
vendor: n/a
versions:
status: affected, version: All versions including 0.1.4
}