High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-7613
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:13 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-7613
Complete source record
{
"id": "45a741bfba9582260ce64c3516effe6f08c40d79c515b36e048b45e2107625dc",
"url": "https://osv.dev/vulnerability/CVE-2020-7613",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-7613",
"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.",
"evidence": "osv:CVE-2020-7613",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2020-7613",
"aliases": [
"CVE-2020-7613",
"GHSA-5v25-xr56-phph",
"SNYK-JS-CLAMSCAN-564113"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/kylefarris/clamscan",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "b51c1a94902e0bcb2250acbb1bc2c35da9383427"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:clamscan_project:clamscan:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "1.2.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v1.2.0",
"v1.0.6",
"v1.0.5",
"v1.0.4",
"v0.8.5",
"v0.8.4",
"v0.8.3",
"v0.8.2",
"v0.8.1",
"v0.8.0",
"v0.7.1",
"v0.7.0",
"v0.6.4",
"v0.6.3",
"v0.6.2",
"v0.6.1",
"v0.6.0",
"v0.5.0",
"v0.4.0",
"v0.2.2",
"v0.2.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7613.json"
}
}
],
"modified": "2026-10-20T10:53:30.560395312Z",
"provider": "osv",
"references": [
"https://github.com/kylefarris/clamscan/blob/master/index.js#L34",
"https://snyk.io/vuln/SNYK-JS-CLAMSCAN-564113"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-7613",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384379,
"published_at": "2020-04-07T14:15:14.217+00:00"
}