Skip to content
OpenAdvisories
Critical · 9.8 CVE-2020-7606 EUVD-2021-1162GHSA-q6pj-jh94-5fpr

OS Command Injection in docker-compose-remote-api

Published Mar 15, 2020 · Updated Aug 4, 2024 · Assigned by snyk

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 products

VendorProductAffectedFixed
— docker-compose-remote-api All versions including 0.1.4 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm docker-compose-remote-api <= 0.1.4 — GHSA-q6pj-jh94-5fpr

References