Critical severityNVD Advisory· Published Aug 2, 2022· Updated Sep 16, 2024
Command Injection
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
2- get-npm-package-version/get-npm-package-versiondescription
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-4h66-vghf-xg5xghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-7795ghsaADVISORY
- github.com/hoperyy/get-npm-package-version/blob/338a5882298eb2c2194538db41166cae13c39e03/index.jsghsaWEB
- github.com/hoperyy/get-npm-package-version/blob/338a5882298eb2c2194538db41166cae13c39e03/index.js%23L17mitrex_refsource_MISC
- github.com/hoperyy/get-npm-package-version/commit/40b1cf31a0607ea66f9e30a0c3af1383b52b2decghsax_refsource_MISCWEB
- github.com/hoperyy/get-npm-package-version/commit/49459d4a3ce68587d48ffa8dead86fc9ed58e965ghsaWEB
- security.snyk.io/vuln/SNYK-JS-GETNPMPACKAGEVERSION-1050390ghsax_refsource_MISCWEB
- www.npmjs.com/package/get-npm-package-version/v/1.0.6mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.