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.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
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.
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 lookupCVE-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- 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
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.
CVSS vector scores
1 official scoreWe 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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P3.95.9Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
9.8CriticalVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
Source materials
- CVE List V5 sourceCVE List V5
- https://snyk.io/vuln/SNYK-JS-ONIONOLEDJS-1078808CVE reference · x_refsource_MISC
- https://github.com/naddeoa/onion-oled-js/blob/8a523645d2cc29130f98de661b742893773d760d/src/oled-exp.js%23L91CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
