RCE in Clamscan Project
CVE-2020-7613
- CVSS v3
- 8.1 High
- Public exploits
- None known
- EPSS
- 0.021 · 82.3th percentile
- Published
- 2020-04-07
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.021, 82.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Clamscan Project
- Clamscan — versions All versions including 1.2.0
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-JS-CLAMSCAN-564113 (Exploit, Third Party Advisory)
- github.com/kylefarris/clamscan/blob/master/index.js (Third Party Advisory)