CVE
CVE-2020-7795
published high CVSS 3.1 · 7.3Command Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | get-npm-package-versionunspecified to < 1.0.7 | Affected | Not stated | snyk |
Description
The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | get-npm-package-version | unspecified to < 1.0.7 (affected · custom) | snyk · cna |
Weaknesses
1- Command Injection
References
4- https://github.com/hoperyy/get-npm-package-version/blob/338a5882298eb2c2194538db41166cae13c39e03/index.js%23L17
- https://github.com/hoperyy/get-npm-package-version/commit/40b1cf31a0607ea66f9e30a0c3af1383b52b2dec
- https://security.snyk.io/vuln/SNYK-JS-GETNPMPACKAGEVERSION-1050390
- https://www.npmjs.com/package/get-npm-package-version/v/1.0.6
Provider assertions
2snyk · cna
Command Injection
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 33db80609bf16f834f64751871645d1024baaeb0c3bb7590ebf3b4a1d4ab1ce0
- Ingested
- 23 Sep 2026, 07:51:25 UTC
- Source record
- Official CVE record