CVE-2020-7795: The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in inde
CVE-2020-7795 is a high-severity flaw (CVSS 7.3) affecting get-npm-package-version. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.
Why this priority
- High severity
- EPSS top 10%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.3 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 4.0% (top 10%) |
| CISA exploited list | No |
| Weakness | CWE-77 |
| Published | 2022-08-02 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-7795?
get-npm-package-version: upgrade to 1.0.7. Exact commands for each OS are on this page.
Is CVE-2020-7795 being exploited?
CVE-2020-7795 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-7795 affect?
CVE-2020-7795 affects get-npm-package-version. Severity is high (CVSS 7.3). The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.
How urgent is CVE-2020-7795?
Priority 58/100. High severity; EPSS top 10%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action