CVE-2020-28494 Command Injection
HighCVSS 8.6
EPSS 1.7%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| npm total.js(npm) | < 3.4.7 | 3.4.7 |
| totaljs total.js | < 3.4.7 | 3.4.7 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- snyk.io exploit patch third-party-advisory
- www.npmjs.com
- github.com