All CVEs / Get-npm-package-version Project
CVE-2020-7795Get-npm-package-version Project Get-npm-package-version
Critical 9.8 No auth needed
Follow: this CVE · Get-npm-package-version Project · Get-npm-package-version Project Get-npm-package-version We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 4.0% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Aug 2, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-77
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.
What to do
- Apply the vendor's security update for Get-npm-package-version.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | get-npm-package-version |
< 1.0.7 |
1.0.7 |
npm install get-npm-package-version@1.0.7 |
Per OSV / GitHub Advisories (GHSA-4h66-vghf-xg5x). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| get-npm-package-version_project | get-npm-package-version | < 1.0.7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Broken Link
- github.com Patch Third Party Advisory
- security.snyk.io Exploit Patch Third Party Advisory
- www.npmjs.com Release Notes Third Party Advisory