Vulnerability · Published Apr 7, 2020 · Assigned by snyk
CVE-2020-7613
High 8.1
In plain English
A high-severity security flaw in clamscan. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)8.1High
Exploit odds (30 days)2.1%top 18.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | clamscan | 1.3.0 | GHSA-5v25-xr56-phph |
Affected products (as reported)
References
- https://snyk.io/vuln/SNYK-JS-CLAMSCAN-564113 x_refsource_MISC
- https://github.com/kylefarris/clamscan/blob/master/index.js#L34 x_refsource_MISC