Skip to content
OpenAdvisories
High · 8.6 CVE-2020-28494 EUVD-2021-0530GHSA-4449-hg37-77v8SNYK-JS-TOTALJS-1046672

Command Injection

Published Feb 2, 2021 · Updated Sep 16, 2024 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— total.js unspecified – < 3.4.7 3.4.7

Affected packages

EcosystemPackageAffectedFixedRecord
npm total.js < 3.4.7 3.4.7 GHSA-4449-hg37-77v8

References