Skip to content

CVE-2022-21191 global-modules-path Command Injection vulnerability

CriticalCVSS 9.8 EPSS 1.5%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
global-modules-path project global-modules-path < 3.0.0 3.0.0 Fixed
npm global-modules-path(npm) < 3.0.0 3.0.0 Fixed

Affected products

ProductAffected versionsFixed in
npm global-modules-path(npm) < 3.0.0 3.0.0
global-modules-path project global-modules-path < 3.0.0 3.0.0

References