CVE-2020-28494: Command Injection
(updated )
This affects the package total.js
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
Detect and mitigate CVE-2020-28494 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →