Code injection in kill-process-by-name
Critical severity
GitHub Reviewed
Published
Mar 19, 2021
to the GitHub Advisory Database
•
Updated Jan 27, 2023
Description
Published by the National Vulnerability Database
Mar 15, 2021
Reviewed
Mar 16, 2021
Published to the GitHub Advisory Database
Mar 19, 2021
Last updated
Jan 27, 2023
This affects all versions of package kill-process-by-name. If (attacker-controlled) user input is given, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization in the index.js file.
References