HIGH · 7.4

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

CVSS Score

7.4

HIGH

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH

Affected Products

VendorProductVersions
Global-Modules-Path ProjectGlobal-Modules-Path< 3.0.0

Related Weaknesses (CWE)

References

FAQ

What is CVE-2022-21191?

CVE-2022-21191 is a vulnerability with a CVSS score of 7.4 (HIGH). 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.

How severe is CVE-2022-21191?

CVE-2022-21191 has been rated HIGH with a CVSS base score of 7.4/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2022-21191?

Check the references section above for vendor advisories and patch information. Affected products include: Global-Modules-Path Project Global-Modules-Path.