Description
The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.
References (4)
Core 4
Core References
Exploit, Patch, Third Party Advisory x_refsource_misc
https://security.snyk.io/vuln/SNYK-JS-GETNPMPACKAGEVERSION-1050390
Release Notes, Third Party Advisory x_refsource_misc
https://www.npmjs.com/package/get-npm-package-version/v/1.0.6
Broken Link x_refsource_misc
https://github.com/hoperyy/get-npm-package-version/blob/338a5882298eb2c2194538db41166cae13c39e03/index.js%23L17
Patch, Third Party Advisory x_refsource_misc
https://github.com/hoperyy/get-npm-package-version/commit/40b1cf31a0607ea66f9e30a0c3af1383b52b2dec
Scores
CVSS v3
7.3
EPSS
0.0369
EPSS Percentile
88.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Details
CWE
CWE-77
Status
published
Products (2)
get-npm-package-version_project/get-npm-package-version
< 1.0.7
npm/get-npm-package-version
0 - 1.0.7npm
Published
Aug 02, 2022
Tracked Since
Feb 18, 2026