RCE in Docker-Compose-Remote-Api Project

CVE-2020-7606

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.026 (84.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-7606?
CVE-2020-7606 is a critical-severity vulnerability in Docker-Compose-Remote-Api Project, classified under OS Command Injection. CVSS score: 9.8/10. Published 2020-03-15.
How severe is CVE-2020-7606?
Critical severity. CVSS v3 base score is 9.8 out of 10.