GitHub Advisoryadvisory · npm
GHSA-4449-hg37-77v8 Command injection in total.js
HIGH
Official page ↗
- Aliases
- CVE-2020-28494
- Ecosystem
- npm
- Packages
- total.js
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
- Weaknesses
- CWE-78
- Reviewed
- 2021-02-03
Affected packages
• npm total.js: < 3.4.7 → fixed in 3.4.7
Description
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.
Related
Alias · CVE (1)
- CVE-2020-28494 This affects the package total.js before 3.4.7. vulnerability
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness