What’s Vulnerable › Vulnerabilities

CVE-2022-21191

Description

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 products

How to fix

Upgrade to a fixed version: global-modules-path 3.0.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-21191 or the next vulnerability affects your stack