VULNERABILITY INTELLIGENCE

CVE-2022-21191

CVSS score7.4 HIGH
EPSS probability1.54%
CISA KEVNot currently listed
Published2023-01-13
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:H/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.

Weakness classification

  • report@snyk.io: CWE-78
  • nvd@nist.gov: NVD-CWE-Other
  • 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-77

Primary references