CVEvulnerability
CVE-2020-7613
8.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2020-04-07
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-78
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.
Affected configurations
• clamscan project clamscan (<= 1.2.0)
Related
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://github.com/kylefarris/clamscan/blob/master/index.js#L34 Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-CLAMSCAN-564113 Exploit, Third Party Advisory
- https://github.com/kylefarris/clamscan/blob/master/index.js#L34 Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-CLAMSCAN-564113 Exploit, Third Party Advisory