CVE-2022-21191

High

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.

SeverityHigh
CVSS7.4
Exploit probability—
ProductGlobal-modules-path
PublishedJan 13, 2023
First seenJan 13, 2023

How to fix

Update
  • global-modules-path_project global-modules-path3.0.0 or later
  • global-modules-path3.0.0 or later

Affected products

ProductAffected versionsFixed in
global-modules-path_project global-modules-pathv < 3.0.03.0.0
global-modules-pathnpmv < 3.0.03.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2022-21191 · Global-modules-path · Dark Radar