High severity7.3NVD Advisory· Published Aug 2, 2022· Updated Jun 17, 2026
CVE-2020-7795
CVE-2020-7795
Description
The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
get-npm-package-versionnpm | < 1.0.7 | 1.0.7 |
Affected products
3- cpe:2.3:a:get-npm-package-version_project:get-npm-package-version:*:*:*:*:*:node.js:*:*Range: <1.0.7
- get-npm-package-version/get-npm-package-versiondescription
Patches
Vulnerability mechanics
References
8- github.com/hoperyy/get-npm-package-version/commit/40b1cf31a0607ea66f9e30a0c3af1383b52b2decnvdPatchThird Party AdvisoryWEB
- security.snyk.io/vuln/SNYK-JS-GETNPMPACKAGEVERSION-1050390nvdExploitPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-4h66-vghf-xg5xghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-7795ghsaADVISORY
- www.npmjs.com/package/get-npm-package-version/v/1.0.6nvdRelease NotesThird Party Advisory
- github.com/hoperyy/get-npm-package-version/blob/338a5882298eb2c2194538db41166cae13c39e03/index.jsghsaWEB
- github.com/hoperyy/get-npm-package-version/blob/338a5882298eb2c2194538db41166cae13c39e03/index.js%23L17nvdBroken Link
- github.com/hoperyy/get-npm-package-version/commit/49459d4a3ce68587d48ffa8dead86fc9ed58e965ghsaWEB
News mentions
0No linked articles in our index yet.