{"id":"CVE-2021-23732","aliases":["CVE-2021-23732","GHSA-ff45-7prw-58vj"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary Code Execution","summary":"This affects all versions of package docker-cli-js. If the command parameter of the Docker.command method can at least be partially controlled by a user, they will be in a position to execute any arbitrary OS commands on the host system.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"This affects all versions of package docker-cli-js. If the command parameter of the Docker.command method can at least be partially controlled by a user, they will be in a position to execute any arbitrary OS commands on the host system.","source":"cvelist"},{"lang":"en","text":"# Withdrawn\n\nAfter reviewing this CVE, and [this response from the maintainer](https://github.com/Quobject/docker-cli-js/issues/22#issuecomment-967760940), we have withdrawn this advisory.\n\n# Original CVE description\n\nThis affects all versions of package docker-cli-js. If the command parameter of the Docker.command method can at least be partially controlled by a user, they will be in a position to execute any arbitrary OS commands on the host system.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Esto afecta a todas las versiones del paquete docker-cli-js. Si el parámetro command del método Docker.command puede ser controlado, al menos parcialmente, por un usuario, éste estará en condiciones de ejecutar cualquier comando arbitrario del sistema operativo en el sistema anfitrión","source":"nvd"}],"published":"2021-11-22T17:00:16.652Z","modified":"2026-09-10T03:49:16.287Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","score":9.3,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"docker-cli-js","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"2.8.0"}],"ecosystem":"npm","package":"docker-cli-js","purl":"pkg:npm/docker-cli-js","source":"ghsa"},{"ranges":[],"vendor":"quobject","product":"docker-cli-js","cpe":"cpe:2.3:a:quobject:docker-cli-js:-:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-DOCKERCLIJS-1568516","tags":["exploit","third-party-advisory","vdb-entry","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20211223-0004/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23732","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Quobject/docker-cli-js/issues/22","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/Quobject/docker-cli-js/issues/22#issuecomment-967760940","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/Quobject/docker-cli-js","tags":["package"],"sources":["ghsa"]}],"credits":["Paul-Emmanuel Raoul"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23732","url":"https://www.cve.org/CVERecord?id=CVE-2021-23732","licence":"CVE Terms of Use","modified":"2024-09-17T03:22:30.852Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-ff45-7prw-58vj","url":"https://github.com/advisories/GHSA-ff45-7prw-58vj","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:16.287Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23732","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23732","licence":"Public domain","modified":"2026-06-17T03:38:52.260Z"}],"updatedAt":"2026-11-25T22:58:05.710Z","epss":{"score":0.019,"percentile":0.80275,"date":"2026-12-01T12:00:22.000Z"}}