RCE in Get-Npm-Package-Version Project
CVE-2020-7795
The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.040, 90.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Get-Npm-Package-Version Project
- Get-Npm-Package-Version — versions unspecified
Weakness classification (CWE)
References
- security.snyk.io/vuln/SNYK-JS-GETNPMPACKAGEVERSION-1050390 (Exploit, Patch, Third Party Advisory)
- www.npmjs.com/package/get-npm-package-version/v/1.0.6 (Third Party Advisory, Release Notes)
- github.com/hoperyy/get-npm-package-version/blob/338a5882298eb2c2194538db41166ca… (Broken Link)
- github.com/hoperyy/get-npm-package-version/commit/40b1cf31a0607ea66f9e30a0c3af1… (Patch, Third Party Advisory)