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

EcosystemPackageFixed inAdvisory
npmdocker-compose-remote-apino fix listedGHSA-q6pj-jh94-5fpr

Affected products (as reported)

VendorProductVersions
n/a docker-compose-remote-api All versions including 0.1.4

References