RCE in Global-Modules-Path Project

CVE-2022-21191

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.015 (71.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-21191?
CVE-2022-21191 is a high-severity vulnerability in Global-Modules-Path Project, classified under OS Command Injection. CVSS score: 7.4/10. Published 2023-01-13.
How severe is CVE-2022-21191?
High severity. CVSS v3 base score is 7.4 out of 10.
Is CVE-2022-21191 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.