Skip to content
OpenAdvisories
High · 7.4 CVE-2022-21191 EUVD-2023-0565GHSA-vvj3-85vf-fgmw

global-modules-path Command Injection vulnerability

Published Jan 13, 2023 · Updated Apr 4, 2025 · Assigned by snyk

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

VendorProductAffectedFixed
— global-modules-path < 3.0.0 3.0.0

Affected packages

EcosystemPackageAffectedFixedRecord
npm global-modules-path < 3.0.0 3.0.0 GHSA-vvj3-85vf-fgmw

References