~ / search / GHSA-vvj3-85vf-fgmw

GHSA-vvj3-85vf-fgmw

global-modules-path Command Injection vulnerability

Source: GitHub Advisory Database (reviewed) Critical CVE-2022-21191

Packages

EcosystemPackageAffectedFixed in
npm global-modules-path < 3.0.0 3.0.0

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.