CVE-2022-21191 global-modules-path Command Injection vulnerability
CriticalCVSS 9.8
EPSS 1.5%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| global-modules-path project global-modules-path | < 3.0.0 | 3.0.0 | Fixed |
| npm global-modules-path(npm) | < 3.0.0 | 3.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm global-modules-path(npm) | < 3.0.0 | 3.0.0 |
| global-modules-path project global-modules-path | < 3.0.0 | 3.0.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com broken-link third-party-advisory
- github.com third-party-advisory
- security.snyk.io third-party-advisory
- github.com
- github.com product