Clamscan vulnerable to command injection
High severity
GitHub Reviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated Oct 19, 2023
Description
Published by the National Vulnerability Database
Apr 7, 2020
Published to the GitHub Advisory Database
May 24, 2022
Reviewed
Oct 19, 2023
Last updated
Oct 19, 2023
clamscan through 1.2.0 is vulnerable to Command Injection. It is possible to inject arbitrary commands as part of the
_is_clamav_binary
function located withinIndex.js
. It should be noted that this vulnerability requires a pre-requisite that a folder should be created with the same command that will be chained to execute. This lowers the risk of this issue.References