{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.2.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "b51c1a94902e0bcb2250acbb1bc2c35da9383427"
            }
          ],
          "repo": "https://github.com/kylefarris/clamscan",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2020-7613",
  "modified": "2026-03-13T21:52:21.112678211Z",
  "published": "2020-04-07T14:15:14.217Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/kylefarris/clamscan/blob/master/index.js#L34"
    },
    {
      "type": "EVIDENCE",
      "url": "https://snyk.io/vuln/SNYK-JS-CLAMSCAN-564113"
    }
  ],
  "related": [
    "SNYK-JS-CLAMSCAN-564113"
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}