9.8

CVE-2020-7795

Exploit

Command Injection

The package get-npm-package-version before 1.0.7 are vulnerable to Command Injection via main function in index.js.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Get-npm-package-version ProjectGet-npm-package-version SwPlatformnode.js Version < 1.0.7
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 3.69% 0.883
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 9.8 3.9 5.9
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
report@snyk.io 7.3 3.9 3.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')

The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.

https://github.com/hoperyy/get-npm-package-version/blob/338a5882298eb2c2194538db41166cae13c39e03/index.js%23L17
Broken Link
https://github.com/hoperyy/get-npm-package-version/commit/40b1cf31a0607ea66f9e30a0c3af1383b52b2dec
Patch
Third Party Advisory
https://security.snyk.io/vuln/SNYK-JS-GETNPMPACKAGEVERSION-1050390
Patch
Third Party Advisory
Exploit
https://www.npmjs.com/package/get-npm-package-version/v/1.0.6
Third Party Advisory
Release Notes