NetSight
critical9.8

CVE-2022-21191

global-modules-path Command Injection vulnerability

Impact

Versions of the package global-modules-path before 3.0.0 are vulnerable to Command Injection due to missing input sanitization or other checks and sandboxes being employed to the getPath function.

Affected packages

EcosystemPackageAffectedFixed in
npmglobal-modules-path< 3.0.03.0.0

Affected products

VendorProductAffected versions
Global-Modules-Path ProjectGlobal-Modules-Path
before 3.0.0

Weakness classification

References