GitHub Advisoryadvisory · npm

GHSA-q6pj-jh94-5fpr OS Command Injection in docker-compose-remote-api

CRITICAL Published 2021-05-07 Modified 2023-09-11 Official page ↗
Aliases
CVE-2020-7606
Ecosystem
npm
Packages
docker-compose-remote-api
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-78
Reviewed
2021-05-04

Affected packages

• npm docker-compose-remote-api: <= 0.1.4 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2020-7606 docker-compose-remote-api through 0.1.4 allows execution of arbitrary commands. vulnerability

Weakness · CWE (1)

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References