Skip to content

CVE-2020-7613 Clamscan vulnerable to command injection

HighCVSS 8.1 EPSS 2.1%
Published
Updated
Exploit status
No public exploit known

Description

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 within Index.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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
clamscan project clamscan <= 1.2.0 after 1.2.0 Fixed
npm clamscan(npm) < 1.3.0; <= 1.2.0 1.3.0 Fixed

Affected products

ProductAffected versionsFixed in
npm clamscan(npm) <= 1.2.0 No fix listed
clamscan project clamscan <= 1.2.0 No fix listed
npm clamscan(npm) < 1.3.0 1.3.0

References