Vulnerability · Published Mar 15, 2020 · Assigned by snyk
CVE-2020-7606
Critical 9.8
In plain English
A critical-severity security flaw in docker-compose-remote-api. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.7% (higher than 86% of all known vulnerabilities).
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)2.7%top 14.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | docker-compose-remote-api | no fix listed | GHSA-q6pj-jh94-5fpr |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | docker-compose-remote-api | All versions including 0.1.4 |
References
- https://snyk.io/vuln/SNYK-JS-DOCKERCOMPOSEREMOTEAPI-560125 x_refsource_MISC