RCE in Totaljs Total.js
CVE-2020-28494
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.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.017 (74.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L.
Affected products
- Totaljs Total.js
- N/a Total.js — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- report@snyk.io (Exploit, Patch, Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2020-28494?
- CVE-2020-28494 is a high-severity vulnerability in Totaljs Total.js, classified under OS Command Injection. CVSS score: 8.6/10. Published 2021-02-02.
- How severe is CVE-2020-28494?
- High severity. CVSS v3 base score is 8.6 out of 10.
- Is CVE-2020-28494 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.