GHSA-q6pj-jh94-5fpr
OS Command Injection in docker-compose-remote-api
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | docker-compose-remote-api | <= 0.1.4 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.