Improper Neutralization of Special Elements used in a Command ('Command Injection')
CVE-2022-21191
Summary
Versions of the package global-modules-path prior to 3.0.0 are vulnerable to Command Injection due to missing input sanitization or other checks and sandboxes being employed to the "getPath" function.
- LOW
- NETWORK
- HIGH
- UNCHANGED
- NONE
- NONE
- HIGH
- HIGH
CWE-77 - Command Injection
A command injection attack involves injecting an operating system command through the data input, which gets executed on the host operating system with the privileges of the victimized application. The impact of a command injection attack may range from loss of data confidentiality and integrity to unauthorized remote access to the hosting system. The attack may cause serious data breaches and system takeover.
References
Advisory Timeline
- Published