Description
The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | get-npm-package-version | >= unspecified, < 1.0.7 |
References
- https://github.com/hoperyy/get-npm-package-version/blob/338a5882298eb2c2194538db41166cae13c39e03/index.js%23L17Broken Link
- https://github.com/hoperyy/get-npm-package-version/commit/40b1cf31a0607ea66f9e30a0c3af1383b52b2decPatch, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-GETNPMPACKAGEVERSION-1050390Exploit, Patch, Third Party Advisory
- https://www.npmjs.com/package/get-npm-package-version/v/1.0.6Release Notes, Third Party Advisory
- https://github.com/hoperyy/get-npm-package-version/blob/338a5882298eb2c2194538db41166cae13c39e03/index.js%23L17Broken Link
- https://github.com/hoperyy/get-npm-package-version/commit/40b1cf31a0607ea66f9e30a0c3af1383b52b2decPatch, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-GETNPMPACKAGEVERSION-1050390Exploit, Patch, Third Party Advisory
- https://www.npmjs.com/package/get-npm-package-version/v/1.0.6Release Notes, Third Party Advisory
Timeline
- Published
- Aug 2, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified