{"id":"GHSA-q6pj-jh94-5fpr","summary":"OS Command Injection in docker-compose-remote-api","details":"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.","aliases":["CVE-2020-7606"],"modified":"2026-03-13T22:11:09.188718Z","published":"2021-05-07T16:14:39Z","database_specific":{"cwe_ids":["CWE-78"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-05-04T20:48:32Z","nvd_published_at":"2020-03-15T22:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7606"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-DOCKERCOMPOSEREMOTEAPI-560125"}],"affected":[{"package":{"name":"docker-compose-remote-api","ecosystem":"npm","purl":"pkg:npm/docker-compose-remote-api"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.1.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-q6pj-jh94-5fpr/GHSA-q6pj-jh94-5fpr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}