GHSA-q6pj-jh94-5fpr
Dashboard / Vulnerabilities / GHSA-q6pj-jh94-5fpr
Summary: OS Command Injection in docker-compose-remote-api
Details: 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: https://nvd.nist.gov/vuln/detail/CVE-2020-7606, https://snyk.io/vuln/SNYK-JS-DOCKERCOMPOSEREMOTEAPI-560125
Affected packages
Package
Name: docker-compose-remote-api
Purl: pkg:npm/docker-compose-remote-api
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -None
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
