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)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.017 (76.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 76th percentile — 76.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.017 · newest: 0.017 · change: 0.000
Affected products
- Totaljs Total.js
- Total.js — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- snyk.io/vuln/SNYK-JS-TOTALJS-1046672 (Exploit, Patch, Third Party Advisory)
- github.com/totaljs/framework/commit/6192491ab2631e7c1d317c221f18ea613e2c18a5 (Patch, Third Party Advisory)
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.