CVE-2022-21191 - CVE House
Back to Database
Status published High CVE-2022-21191

Versions of the package global-modules-path before 3.0.0 are vulnerable to...

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-21191

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Johns Hopkins

Affected Vendor

Affected Software

global-modules-path
Vulnerable Versions:
0

Timeline

Official Publish: January 13th, 2023
Last Modified: April 4th, 2025
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P

Weaknesses (CWE)