{"id":"CVE-2020-7613","aliases":["EUVD-2022-2654","GHSA-5v25-xr56-phph","SNYK-JS-CLAMSCAN-564113"],"status":"published","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.","severity":{"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","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.02122,"percentile":0.82034,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-74","CWE-78"],"published":"2020-04-07T13:19:05Z","modified":"2026-10-20T10:53:30Z","fixes":[{"ecosystem":"npm","package":"clamscan","fixed_in":["1.3.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"clamscan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.2.0"},{"fixed":"1.3.0"}]}]},{"source":"osv","ecosystem":"npm","package":"clamscan","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.3.0"}]}]}],"products":[{"vendor":"clamscan_project","product":"clamscan"}],"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://huntr.dev/bounties/1-npm-clamscan/"},{"url":"https://github.com/advisories/GHSA-5v25-xr56-phph"},{"url":"https://github.com/kylefarris/clamscan","tags":["package"]},{"url":"https://huntr.dev/bounties/1-npm-clamscan","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2020-7613","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.","status":"published","published":"2020-04-07T13:19:05Z","modified":"2024-08-04T09:33:19.958Z","updated_at":"2026-11-02T14:35:58.331892Z"}],"euvd":[{"id":"EUVD-2022-2654","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.","status":"published","published":"2020-04-07T13:19:05Z","modified":"2024-08-04T09:33:19Z","updated_at":"2026-11-03T03:07:59.058668Z"}],"ghsa":[{"id":"GHSA-5v25-xr56-phph","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.","status":"published","published":"2022-05-24T17:13:40Z","modified":"2023-10-19T18:32:36Z","cvss":[{"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","level":"high"}],"cwes":["CWE-74","CWE-78"],"updated_at":"2026-11-02T14:37:08.847568Z"}],"nvd":[{"id":"CVE-2020-7613","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.","status":"published","published":"2020-04-07T14:15:14.217Z","modified":"2026-06-17T03:25:07.23Z","cvss":[{"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","level":"high","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:05:57.678762Z"}],"osv":[{"id":"CVE-2020-7613","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.","status":"published","published":"2020-04-07T14:15:14.217Z","modified":"2026-10-20T10:53:30.560395312Z","cvss":[{"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","level":"high"}],"updated_at":"2026-11-02T15:44:17.34531Z"},{"id":"GHSA-5v25-xr56-phph","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.","status":"published","published":"2022-05-24T17:13:40Z","modified":"2026-07-08T06:49:57.015333085Z","cvss":[{"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","level":"high"}],"cwes":["CWE-74","CWE-78"],"updated_at":"2026-11-02T15:46:38.911014Z"}]}}
