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
Link | Resource |
---|---|
https://snyk.io/vuln/SNYK-JS-DOCKERCOMPOSEREMOTEAPI-560125 | Exploit Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Information
Published : 2020-03-15 15:15
Updated : 2021-07-21 04:39
NVD link : CVE-2020-7606
Mitre link : CVE-2020-7606
JSON object : View
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Products Affected
docker-compose-remote-api_project
- docker-compose-remote-api