CVE-2022-21191

published 13 Jan 2023 · updated 4 Apr 2025

Versions of the package global-modules-path before 3.0.0 are vulnerable to Command Injection due to missing input sanitization or other…

7.4HighCVSS 7.4EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 3.0.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<3.0.03.0.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-21191 severity on Zeptric[![CVE-2022-21191](https://zeptric.io/badge/cve/CVE-2022-21191.svg)](https://zeptric.io/cve/CVE-2022-21191)