Vulnerability Details : 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.
Products affected by CVE-2020-28494
- cpe:2.3:a:totaljs:total.js:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-28494
0.39%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 73 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-28494
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
8.6
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
3.9
|
4.7
|
Snyk |
CWE ids for CVE-2020-28494
-
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-28494
-
https://github.com/totaljs/framework/commit/6192491ab2631e7c1d317c221f18ea613e2c18a5
Fixed "Command Injection" in `image.stream()` - thank to Sam Sanoop. · totaljs/framework@6192491 · GitHubPatch;Third Party Advisory
-
https://snyk.io/vuln/SNYK-JS-TOTALJS-1046672
Command Injection in total.js | SnykExploit;Patch;Third Party Advisory
Jump to