VulnerabilityModified
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.
CRITICAL 9.8EPSS 1.48%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.48%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.48% probability · 72th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78, CWE-77
- Affected
- global-modules-path project/global-modules-path
- Source
- report@snyk.io
References
- https://github.com/lorenzomigliorero/npm-node-utils/blob/b55dd81c597db657c9751332bb2242403fd3e26b/index.js%23L186Broken Link, Third Party Advisory
- https://github.com/rosen-vladimirov/global-modules-path/commit/edbdaff077ea0cf295b1469923c06bbccad3c180Patch, Third Party Advisory
- https://github.com/rosen-vladimirov/global-modules-path/releases/tag/v3.0.0Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-GLOBALMODULESPATH-3167973Third Party Advisory
- https://github.com/lorenzomigliorero/npm-node-utils/blob/b55dd81c597db657c9751332bb2242403fd3e26b/index.js%23L186Broken Link, Third Party Advisory
- https://github.com/rosen-vladimirov/global-modules-path/commit/edbdaff077ea0cf295b1469923c06bbccad3c180Patch, Third Party Advisory
- https://github.com/rosen-vladimirov/global-modules-path/releases/tag/v3.0.0Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-GLOBALMODULESPATH-3167973Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.