OS Command Injection in docker-compose-remote-api
Critical severity
GitHub Reviewed
Published
May 7, 2021
to the GitHub Advisory Database
•
Updated Sep 11, 2023
Description
Published by the National Vulnerability Database
Mar 15, 2020
Reviewed
May 4, 2021
Published to the GitHub Advisory Database
May 7, 2021
Last updated
Sep 11, 2023
docker-compose-remote-api through 0.1.4 allows execution of arbitrary commands. Within
index.js
of the package, the functionexec(serviceName, cmd, fnStdout, fnStderr, fnExit)
uses the variableserviceName
which can be controlled by users without any sanitization.References