rosen-vladimirov/global-modules-path · Security

global-modules-path Command Injection vulnerability

GHSA ID
GHSA-vvj3-85vf-fgmw
CVE ID
CVE-2022-21191
Severity
critical
Published
Updated
CVSS
9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v3
9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

CWEs

References