CVE-2020-28494

Command Injection

Published Feb 2, 2021 CVSS 3.1 · 8.6 High EPSS 1.7% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-0530 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.
Github GHSA Github GHSA GHSA-4449-hg37-77v8 Command injection in total.js
History

No history.

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 16, 2024, 4:33 PM
Reserved
Nov 12, 2020, 12:00 AM
Status
Modified
Published
Feb 2, 2021, 11:15 AM
Modified
Jun 17, 2026, 3:10 AM