Command Injection in onion-oled-js
Critical severity
GitHub Reviewed
Published
May 7, 2021
to the GitHub Advisory Database
•
Updated Jan 27, 2023
Description
Published by the National Vulnerability Database
Apr 18, 2021
Reviewed
May 6, 2021
Published to the GitHub Advisory Database
May 7, 2021
Last updated
Jan 27, 2023
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.
References