RCE in Global-Modules-Path Project
CVE-2022-21191
- CVSS v3
- 7.4 High
- Public exploits
- None known
- EPSS
- 0.015 · 75.5th percentile
- Published
- 2023-01-13
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.015, 75.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Global-Modules-Path Project
- Global-Modules-Path — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (seal-community/patches). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- security.snyk.io/vuln/SNYK-JS-GLOBALMODULESPATH-3167973 (Third Party Advisory)
- github.com/lorenzomigliorero/npm-node-utils/blob/b55dd81c597db657c9751332bb2242… (Third Party Advisory, Broken Link)
- github.com/rosen-vladimirov/global-modules-path/releases/tag/v3.0.0 (Third Party Advisory)
- github.com/rosen-vladimirov/global-modules-path/commit/edbdaff077ea0cf295b14699… (Patch, Third Party Advisory)