keep-module-latest vulnerable to Command Injection due to missing input sanitization
High severity
GitHub Reviewed
Published
May 27, 2023
to the GitHub Advisory Database
•
Updated Nov 7, 2023
Description
Published by the National Vulnerability Database
May 27, 2023
Published to the GitHub Advisory Database
May 27, 2023
Reviewed
May 30, 2023
Last updated
Nov 7, 2023
All versions of the package keep-module-latest are vulnerable to Command Injection due to missing input sanitization or other checks and sandboxes being employed to the installModule function.
Note:
To execute the code snippet and potentially exploit the vulnerability, the attacker needs to have the ability to run Node.js code within the target environment. This typically requires some level of access to the system or application hosting the Node.js environment.
References