Live threats

All CVEs / Get-npm-package-version Project

CVE-2020-7795Get-npm-package-version Project Get-npm-package-version

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Get-npm-package-version.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
get-npm-package-version_projectget-npm-package-version< 1.0.7

Official sources

References

Links published by the sources. Open them with care.