Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
CVE-2020-7795 Details
Description
The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/hoperyy/get-npm-package-version/blob/338a5882298eb2c2194538db41166cae13c39e03/index.js%23L17 | CVE | Broken Link |
| https://github.com/hoperyy/get-npm-package-version/commit/40b1cf31a0607ea66f9e30a0c3af1383b52b2dec | CVE | PatchThird Party Advisory |
| https://security.snyk.io/vuln/SNYK-JS-GETNPMPACKAGEVERSION-1050390 | CVE | ExploitPatchThird Party Advisory |
| https://www.npmjs.com/package/get-npm-package-version/v/1.0.6 | CVE | Release NotesThird Party Advisory |
| https://github.com/hoperyy/get-npm-package-version/blob/338a5882298eb2c2194538db41166cae13c39e03/index.js%23L17 | [email protected] | Broken Link |
| https://github.com/hoperyy/get-npm-package-version/commit/40b1cf31a0607ea66f9e30a0c3af1383b52b2dec | [email protected] | PatchThird Party Advisory |
| https://security.snyk.io/vuln/SNYK-JS-GETNPMPACKAGEVERSION-1050390 | [email protected] | ExploitPatchThird Party Advisory |
| https://www.npmjs.com/package/get-npm-package-version/v/1.0.6 | [email protected] | Release NotesThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| get-npm-package-version project get-npm-package-version | < 1.0.7 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 5, 2022 | Initial Analysis | [email protected] |