{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-7613","id":"CVE-2020-7613","title":"Clamscan vulnerable to command injection","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.","descriptionLong":"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.","published":"2020-04-07T13:19:05.000Z","updated":"2026-10-20T10:53:30.560395312Z","reserved":"2020-01-21T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["clamscan"],"affectedProducts":[{"vendor":"n/a","product":"clamscan","defaultStatus":null,"versions":[{"status":"affected","version":"All versions including 1.2.0"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"clamscan","purl":"pkg:npm/clamscan","ranges":["<1.3.0"],"fixed":["1.3.0"],"advisory":"GHSA-5v25-xr56-phph"}],"cwes":["CWE-78","CWE-74"],"aliases":["GHSA-5v25-xr56-phph","SNYK-JS-CLAMSCAN-564113"],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-CLAMSCAN-564113","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/kylefarris/clamscan/blob/master/index.js#L34","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7613","tags":["advisory"]},{"url":"https://github.com/kylefarris/clamscan/pull/45","tags":["web"]},{"url":"https://github.com/kylefarris/clamscan/commit/5f557c970817fe8c578ec3f7ad3bcbcef4cf5538","tags":["web"]},{"url":"https://github.com/kylefarris/clamscan","tags":["package"]},{"url":"https://huntr.dev/bounties/1-npm-clamscan","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02122,"epssPercentile":0.82249,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-7613","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7613","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-7613","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5v25-xr56-phph","ok":true,"note":"GHSA-5v25-xr56-phph"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-7613","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}