RCE in Global-Modules-Path Project
CVE-2022-21191
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.
EPSS exploit prediction
EPSS: 0.015 (73.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 73rd percentile — 73.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.015 · newest: 0.015 · change: 0.000
Affected products
- Global-Modules-Path Project
- Global-Modules-Path — versions 0
Weakness classification (CWE)
Public proof-of-concept exploits
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)
Frequently asked questions
- What is CVE-2022-21191?
- CVE-2022-21191 is a high-severity vulnerability in Global-Modules-Path Project, classified under OS Command Injection. CVSS score: 7.4/10. Published 2023-01-13.
- How severe is CVE-2022-21191?
- High severity. CVSS v3 base score is 7.4 out of 10.
- Is CVE-2022-21191 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.