GitHub Advisoryadvisory · npm

GHSA-rhwp-9vm9-547q Command Injection in onion-oled-js

CRITICAL Published 2021-05-07 Modified 2022-07-05 Official page ↗
Aliases
CVE-2021-23377
Ecosystem
npm
Packages
onion-oled-js
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-77
Reviewed
2021-05-06

Affected packages

• npm onion-oled-js: <= 0.0.2 (no fix yet)

Description

This affects all versions up to and including version 0.0.2 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.

Related

Alias · CVE (1)

  • CVE-2021-23377 This affects all versions of package onion-oled-js. vulnerability

Weakness · CWE (1)

  • CWE-77 Improper Neutralization of Special Elements used in a Command weakness

References