Every CVE Search/ Get API key

CVE-2020-7795

Command Injection

7.3 HighFix available

The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
Low

Exploit likelihood

3.97%Up 2.9 points since Aug 3, 2022
90%50%10%1%

What each source reports

CVE List Score used 7.3

Command Injection

The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.

Record
CVE-2020-7795
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
Updated
2026-11-02
EUVDEUVD-2022-6477 7.3

The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.

Record
EUVD-2022-6477
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P
Updated
2026-11-03
GitHub AdvisoriesGHSA-4h66-vghf-xg5x 9.8

get-npm-package-version Command Injection vulnerability

The package get-npm-package-version before 1.0.7 is vulnerable to Command Injection via the main function in index.js.

Record
GHSA-4h66-vghf-xg5x
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-77
Updated
2026-11-02
NVD 7.3

The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.

Record
CVE-2020-7795
CVSS 3.1
7.3 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-77
Updated
2026-11-02
OSV 9.8

The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.

Record
CVE-2020-7795
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-4h66-vghf-xg5x 9.8

get-npm-package-version Command Injection vulnerability

The package get-npm-package-version before 1.0.7 is vulnerable to Command Injection via the main function in index.js.

Record
GHSA-4h66-vghf-xg5x
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-77
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
get-npm-package-version
npm
before 1.0.7
1.0.7

History

History
RecordedChangedSources
aliases, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-7795 is a high vulnerability (CVSS 7.3) in Get-npm-package-version Project Get-npm-package-version, published August 2, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.97%, the 90th percentile. Fixed in get-npm-package-version 1.0.7.

References

MoveEnter Open