Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. total.js
  4. ›
  5. CVE-2020-28494

CVE-2020-28494: Command Injection

February 2, 2021 (updated July 21, 2021)

This affects the package total.js 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

  • nvd.nist.gov/vuln/detail/CVE-2020-28494

Code Behaviors & Features

Detect and mitigate CVE-2020-28494 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.4.7

Fixed versions

  • 3.4.7

Solution

Upgrade to version 3.4.7 or above.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

Source file

npm/total.js/CVE-2020-28494.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:25 +0000.