CVE-2021-23732:
OS Command injection in docker-cli-js
9
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.73811%
CWE
Published
12/2/2021
Updated
2/1/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
docker-cli-js | npm | <= 2.8.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the Docker.command
method which accepts user-controlled input that gets executed as part of a system command. Multiple sources (CVE description, GitHub issue #22, and Snyk analysis) confirm that insufficient input sanitization in this method allows command injection. The maintainer's 'wontfix' response and withdrawn advisory don't contradict the technical vulnerability but rather indicate lack of patching. The function
name is explicitly mentioned in all vulnerability descriptions as the injection vector.