CVE-2020-28494

Severity CVSS v4.0:
Pending analysis
Type:
CWE-78 OS Command Injections
Publication date:
02/02/2021
Last modified:
21/07/2021

Description

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:totaljs:total.js:*:*:*:*:*:node.js:*:* 3.4.7 (excluding)