Advisory

GHSA-4449-hg37-77v8

Also known as: CVE-2020-28494, SNYK-JS-TOTALJS-1046672

Summary

Command injection in total.js

Details

There is a command injection vulnerability that affects the package total.js before version 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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-02-05 20:43 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

total.js

npm · All systems

Affected

  • introduced 0, fixed 3.4.7 (semver)

Fixed versions

3.4.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences