CVE-2021-23377
Command Injection in onion-oled-js
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, GHSA.
Description
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| npm::GitHub Security Advisory npm | onion-oled-js | pas de correctif indiqué |
Références
- https://github.com/naddeoa/onion-oled-js
- https://github.com/naddeoa/onion-oled-js/blob/8a523645d2cc29130f98de661b742893773d760d/src/oled-exp.js#23L91
- https://github.com/naddeoa/onion-oled-js/blob/8a523645d2cc29130f98de661b742893773d760d/src/oled-exp.js%23L91
- https://nvd.nist.gov/vuln/detail/CVE-2021-23377
- https://snyk.io/vuln/SNYK-JS-ONIONOLEDJS-1078808