LiveActive security incident?Get immediate response
CVE Record

CVE-2021-23377: Arbitrary Command Injection

This affects all versions of package onion-oled-js. If attacker-controlled user input is given to the scroll function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

CVE-2021-23377 is a critical command injection issue in the npm package onion-oled-js. If an application passes attacker-controlled text into the package’s scroll function, the host system may run unintended operating-system commands. Business urgency depends on whether this niche library is used in reachable services or embedded device software.

Executive priority

Prioritize validation if the organization operates Node.js-based embedded, kiosk, IoT, or device-control software. The impact is severe where reachable, but the package appears specialized, so first determine whether it exists in production and whether untrusted users can influence scroll input.

Technical view

The source bundle describes unsanitized input reaching child_process exec inside onion-oled-js. The vulnerable surface is the scroll function when it receives attacker-controlled input. CVSS is 9.8, with network attack vector, no privileges, no user interaction, and high confidentiality, integrity, and availability impact.

Likely exposure

Exposure is likely limited to systems using onion-oled-js, especially applications or device services that pass external input to OLED scrolling behavior. The bundle says all versions are affected, but the structured affected version data is sparse.

Exploitation context

The bundle does not show CISA KEV listing or active exploitation evidence. It does include a CVSS vector with exploit maturity marked proof-of-concept. Treat internet- or network-reachable usage as urgent, but do not assume widespread exploitation from these sources alone.

Researcher notes

The key evidence is the described use of child_process exec without input sanitization. The GitHub reference points to the implementation area, and Snyk is the advisory source. Evidence is insufficient here to identify a fixed version or confirmed exploitation in the wild.

Mitigation direction

  • Inventory npm dependencies and deployed artifacts for onion-oled-js.
  • Remove or replace the package where untrusted input can reach scroll.
  • Check Snyk and the upstream repository for maintained remediation guidance.
  • Restrict network access to any service exposing affected OLED behavior.
  • Sanitize or reject untrusted values before they reach the vulnerable function.

Validation and detection

  • Search application dependency manifests and lockfiles for onion-oled-js.
  • Trace whether external request, message, or device input reaches scroll.
  • Review deployed embedded or kiosk builds for bundled onion-oled-js copies.
  • Confirm whether compensating access controls block untrusted callers.
  • Document any affected runtime owner, device class, and exposure path.
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
cve · low confidence lookup

CVE-2021-23377 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.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P

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
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P3.95.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

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

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P

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

Products and packages named in the record

VendorProductVersion / packageStatus
n/aonion-oled-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.