{"id":"CVE-2020-7613","published":"2020-04-07T13:19:05Z","modified":"2024-08-04T09:33:19Z","title":"clamscan through 1.2.0 is vulnerable to Command Injection","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02122,"percentile":0.82327,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-CLAMSCAN-564113","tags":["x_refsource_MISC"]},{"url":"https://github.com/kylefarris/clamscan/blob/master/index.js#L34","tags":["x_refsource_MISC"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":16.47}]},"affectedVersions":[{"vendor":"n/a","product":"clamscan","versions":["All versions including 1.2.0"]}],"affected":[{"ecosystem":"npm","package":"clamscan","vulnerableRanges":["<1.3.0"],"patched":["1.3.0"],"from":["GHSA-5v25-xr56-phph"],"provenance":"source"}],"summary":{"text":"The clamscan package, through version 1.2.0, contains a command injection flaw in the _is_clamav_binary function within Index.js, which lets arbitrary commands be injected into the code path it handles. Exploitation requires a precondition: a folder must already exist with the same name as the command that will be chained for execution, which reduces the practical risk.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:58Z"},"euvd":{"id":"EUVD-2022-2654","exploited":false,"provenance":"source"}}