{"id":"EUVD-2022-2654","enisaUuid":"eb7191d6-9b6d-3b52-be71-4ef613876814","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.","datePublished":"Apr 7, 2020, 1:19:05 PM","dateUpdated":"Aug 4, 2024, 9:33:19 AM","baseScore":null,"references":"https://snyk.io/vuln/SNYK-JS-CLAMSCAN-564113\nhttps://github.com/kylefarris/clamscan/blob/master/index.js#L34\n","aliases":"CVE-2020-7613\nGHSA-5v25-xr56-phph\n","assigner":"snyk","epss":2.12,"enisaIdProduct":[{"id":"a62dae06-b69e-3f24-92ef-ecb6cb50d7fe","product":{"name":"clamscan","vendor":{"name":"n/a"}},"product_version":"All versions including 1.2.0"}],"enisaIdVendor":[{"id":"ae202133-f3c1-32e0-98d9-693f963ff780","vendor":{"name":"n/a"}}],"enisaIdVulnerability":[{"id":"e0556f53-f0e9-38f4-83b4-891783050eb1","vulnerability":{"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.","datePublished":"Apr 7, 2020, 1:19:05 PM","dateUpdated":"Aug 4, 2024, 9:33:19 AM","status":"PUBLISHED","baseScore":null,"references":"https://snyk.io/vuln/SNYK-JS-CLAMSCAN-564113\nhttps://github.com/kylefarris/clamscan/blob/master/index.js#L34\n","enisa_id":"EUVD-2022-2654\n","assigner":"snyk","epss":2.12,"dataProcessed":"Nov 22, 2026, 1:28:33 AM","vulnerabilityProduct":[{"id":"04bb5aee-56c0-3aa1-8e36-06c12c9e7b0f","product":{"name":"clamscan","vendor":{"name":"n/a"}},"product_version":"All versions including 1.2.0"}],"vulnerabilityVendor":[{"id":"c6235a47-2c4c-384f-ae57-44cf798afbaa","vendor":{"name":"n/a"}}]}},{"id":"e520aaaa-4eb5-3533-a99f-ee476103fdf8","vulnerability":{"id":"GHSA-5v25-xr56-phph","description":"Clamscan vulnerable to command injection","datePublished":"May 24, 2022, 5:13:40 PM","dateUpdated":"Oct 19, 2023, 6:32:34 PM","baseScore":null,"references":"https://nvd.nist.gov/vuln/detail/CVE-2020-7613\nhttps://github.com/kylefarris/clamscan/pull/45\nhttps://github.com/kylefarris/clamscan/commit/5f557c970817fe8c578ec3f7ad3bcbcef4cf5538\nhttps://github.com/kylefarris/clamscan\nhttps://github.com/kylefarris/clamscan/blob/master/index.js#L34\nhttps://huntr.dev/bounties/1-npm-clamscan\nhttps://snyk.io/vuln/SNYK-JS-CLAMSCAN-564113\n","enisa_id":"EUVD-2022-2654\n","aliases":"GHSA-5v25-xr56-phph\nCVE-2020-7613\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:25:45 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}