CVE-2022-21191

global-modules-path: Command Injection due to missing Input Sanitization

Published Jan 13, 2023 CVSS 3.1 · 7.4 High EPSS 1.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-0565 global-modules-path Command Injection vulnerability
Github GHSA Github GHSA GHSA-vvj3-85vf-fgmw global-modules-path Command Injection vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Apr 4, 2025, 2:55 PM
Reserved
Feb 24, 2022, 11:58 AM
Status
Modified
Published
Jan 13, 2023, 5:15 AM
Modified
Jun 17, 2026, 4:25 AM
Severity
Critical
Public date
Jan 13, 2023, 12:00 AM