CVE-2020-28494

HIGH

total.js < 3.4.7 - OS Command Injection via Image Type Parameter

Title source: llm
STIX 2.1

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.

References (2)

Core 2
Core References
Exploit, Patch, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JS-TOTALJS-1046672

Scores

CVSS v3 8.6
EPSS 0.0120
EPSS Percentile 79.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

Details

CWE
CWE-78
Status published
Products (2)
npm/total.js 0 - 3.4.7npm
totaljs/total.js < 3.4.7
Published Feb 02, 2021
Tracked Since Feb 18, 2026