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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | docker-compose-remote-api | All versions including 0.1.4 |
References
- https://snyk.io/vuln/SNYK-JS-DOCKERCOMPOSEREMOTEAPI-560125Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-DOCKERCOMPOSEREMOTEAPI-560125Exploit, Third Party Advisory
Timeline
- Published
- Mar 15, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified