LiveActive security incident?Get immediate response
CVE Record

CVE-2021-23732: Arbitrary Code Execution

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.

CriticalCVSS 9Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

CVE-2021-23732 affects the npm package docker-cli-js, not Docker itself. If an application lets a user influence the Docker.command parameter, that user may execute operating system commands on the host. The impact is potentially full host compromise.

Executive priority

Treat as high priority where docker-cli-js is used in production, CI, or administrative services. Arbitrary host command execution can become business-impacting compromise, but urgency depends on confirmed dependency use and input exposure.

Technical view

The vulnerable surface is Docker.command in docker-cli-js. The CVE describes arbitrary OS command execution when the command argument is at least partially user-controlled. CVSS 3.1 score is 9.0 with network attack vector, high impact, and changed scope.

Likely exposure

Exposure is likely limited to applications, internal tools, CI systems, or automation that import docker-cli-js and pass user-influenced data into Docker.command. The bundle says all versions are affected, but does not identify specific patched versions.

Exploitation context

The source bundle does not show CISA KEV status or cited evidence of active exploitation. Practical risk depends on whether untrusted users can influence Docker.command and what privileges the hosting process has.

Researcher notes

The key validation question is data flow into Docker.command. The bundle provides impact and affected package information, but not exploit telemetry, proof-of-concept details, or a named fixed version. Avoid assuming Docker Engine is vulnerable.

Mitigation direction

  • Inventory codebases and build systems for docker-cli-js usage.
  • Check maintainer, Snyk, and vendor guidance for supported remediation options.
  • Remove user influence from Docker.command input paths.
  • Use fixed, validated command selections instead of raw command strings.
  • Restrict privileges for services that can invoke Docker commands.
  • Prioritize replacement if no maintained fixed release is available.

Validation and detection

  • Search dependency manifests and lockfiles for docker-cli-js.
  • Review all Docker.command call sites for user-controlled data flow.
  • Confirm affected services run with minimal host and Docker privileges.
  • Check Snyk and vendor advisories for current fix guidance.
  • Document whether exposure is production, CI-only, or developer-only.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

Container behavior lookup

The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-23732 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9CVSS 3.1CriticalCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H2.26Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

9Critical
CVSS 3.1 vector shape for CVE-2021-23732Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/adocker-cli-js0Listed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.