Search for vulnerabilities
Vulnerability details: VCID-6rr2-zw7a-kug5
Vulnerability ID VCID-6rr2-zw7a-kug5
Aliases CVE-2020-7613
GHSA-5v25-xr56-phph
Summary Clamscan vulnerable to command injection 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
Exploitability 0.5
Weighted Severity 8.0
Risk 4.0
Affected and Fixed Packages Package Details
Weaknesses (4)
System Score Found at
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
epss 0.01803 https://api.first.org/data/v1/epss?cve=CVE-2020-7613
cvssv3.1_qr HIGH https://github.com/advisories/GHSA-5v25-xr56-phph
cvssv3.1 8.1 https://github.com/kylefarris/clamscan
generic_textual HIGH https://github.com/kylefarris/clamscan
cvssv3.1 8.1 https://github.com/kylefarris/clamscan/blob/master/index.js#L34
generic_textual HIGH https://github.com/kylefarris/clamscan/blob/master/index.js#L34
cvssv3.1 8.1 https://github.com/kylefarris/clamscan/commit/5f557c970817fe8c578ec3f7ad3bcbcef4cf5538
generic_textual HIGH https://github.com/kylefarris/clamscan/commit/5f557c970817fe8c578ec3f7ad3bcbcef4cf5538
cvssv3.1 8.1 https://github.com/kylefarris/clamscan/pull/45
generic_textual HIGH https://github.com/kylefarris/clamscan/pull/45
cvssv3.1 8.1 https://huntr.dev/bounties/1-npm-clamscan
generic_textual HIGH https://huntr.dev/bounties/1-npm-clamscan
cvssv2 6.8 https://nvd.nist.gov/vuln/detail/CVE-2020-7613
cvssv3.1 8.1 https://nvd.nist.gov/vuln/detail/CVE-2020-7613
generic_textual HIGH https://nvd.nist.gov/vuln/detail/CVE-2020-7613
archlinux High https://security.archlinux.org/AVG-1168
cvssv3.1 8.1 https://snyk.io/vuln/SNYK-JS-CLAMSCAN-564113
generic_textual HIGH https://snyk.io/vuln/SNYK-JS-CLAMSCAN-564113
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://github.com/kylefarris/clamscan
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://github.com/kylefarris/clamscan/blob/master/index.js#L34
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://github.com/kylefarris/clamscan/commit/5f557c970817fe8c578ec3f7ad3bcbcef4cf5538
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://github.com/kylefarris/clamscan/pull/45
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://huntr.dev/bounties/1-npm-clamscan
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P Found at https://nvd.nist.gov/vuln/detail/CVE-2020-7613
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2020-7613
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://snyk.io/vuln/SNYK-JS-CLAMSCAN-564113
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.82024
EPSS Score 0.01803
Published At July 30, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2025-07-31T09:08:03.278465+00:00 GithubOSV Importer Import https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-5v25-xr56-phph/GHSA-5v25-xr56-phph.json 37.0.0