logo

CVE-2022-21191 global-modules-path

Package

Manager: npm
Name: global-modules-path
Vulnerable Version: >=0 <3.0.0

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00299 pctl0.52727

Details

global-modules-path Command Injection vulnerability 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.

Metadata

Created: 2023-01-13T06:30:22Z
Modified: 2025-04-04T19:33:44Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-vvj3-85vf-fgmw/GHSA-vvj3-85vf-fgmw.json
CWE IDs: ["CWE-77", "CWE-78"]
Alternative ID: GHSA-vvj3-85vf-fgmw
Finding: F422
Auto approve: 1