CVE-2022-21191 HIGH

CVE-2022-21191

Vendor N/A
Product global-modules-path
Weakness CWE-78
Published January 13, 2023
Last update April 4, 2025

CVSS base score

7.4/10
Attack vector Local
Attack complexity High
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

January 13, 2023 CVE published
April 4, 2025 Record updated