Lucene search

K
cvelistSnykCVELIST:CVE-2020-28494
HistoryFeb 02, 2021 - 10:25 a.m.

CVE-2020-28494 Command Injection

2021-02-0210:25:22
snyk
www.cve.org
2
cve
command injection
total.js
package
child_process.spawn
shell
type parameter

CVSS3

8.6

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L/E:P/RL:O/RC:C

AI Score

8.7

Confidence

High

EPSS

0.004

Percentile

73.4%

This affects the package total.js before 3.4.7. The issue occurs in the image.pipe and image.stream functions. The type parameter is used to build the command that is then executed using child_process.spawn. The issue occurs because child_process.spawn is called with the option shell set to true and because the type parameter is not properly sanitized.

CNA Affected

[
  {
    "product": "total.js",
    "vendor": "n/a",
    "versions": [
      {
        "lessThan": "3.4.7",
        "status": "affected",
        "version": "unspecified",
        "versionType": "custom"
      }
    ]
  }
]

CVSS3

8.6

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L/E:P/RL:O/RC:C

AI Score

8.7

Confidence

High

EPSS

0.004

Percentile

73.4%

Related for CVELIST:CVE-2020-28494