VulnerabilityModified
CVE-2020-7613
clamscan through 1.2.0 is vulnerable to Command Injection.
HIGH 8.1EPSS 2.12%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.12%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 8.1 HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 2.12% probability · 81th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-78
- Affected
- clamscan project/clamscan
- Source
- report@snyk.io
References
- https://github.com/kylefarris/clamscan/blob/master/index.js#L34Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-CLAMSCAN-564113Exploit, Third Party Advisory
- https://github.com/kylefarris/clamscan/blob/master/index.js#L34Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-CLAMSCAN-564113Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.