Skip to main content
← All vulnerabilities
CVE-2020-7613GHSA-5V25-XR56-PHPHSNYK-JS-CLAMSCAN-564113

clamscan through 1.2.0 is vulnerable to Command Injection.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.3.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a clamscan

    All versions including 1.2.0

  • clamscannpm

    fixed in 1.3.0

References 2

snyk.io

GitHub · kylefarris/clamscan