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.
References
Link | Resource |
---|---|
https://github.com/totaljs/framework/commit/6192491ab2631e7c1d317c221f18ea613e2c18a5 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-TOTALJS-1046672 | Exploit Patch Third Party Advisory |
https://github.com/totaljs/framework/commit/6192491ab2631e7c1d317c221f18ea613e2c18a5 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-TOTALJS-1046672 | Exploit Patch Third Party Advisory |
Configurations
History
21 Nov 2024, 05:22
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/totaljs/framework/commit/6192491ab2631e7c1d317c221f18ea613e2c18a5 - Patch, Third Party Advisory | |
References | () https://snyk.io/vuln/SNYK-JS-TOTALJS-1046672 - Exploit, Patch, Third Party Advisory |
Information
Published : 2021-02-02 11:15
Updated : 2024-11-21 05:22
NVD link : CVE-2020-28494
Mitre link : CVE-2020-28494
CVE.ORG link : CVE-2020-28494
JSON object : View
Products Affected
totaljs
- total.js
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')