CVE-2020-7613
JavaScript vulnerability analysis and mitigation

Overview

clamscan through 1.2.0 is vulnerable to Command Injection in the _is_clamav_binary function located within Index.js. The vulnerability (CVE-2020-7613) was discovered and disclosed on April 1, 2020, affecting the clamscan npm package versions below 1.3.0. This vulnerability requires a prerequisite condition where a folder must be created with the same command that will be chained to execute, which reduces the overall risk (Snyk DB, NVD).

Technical details

The vulnerability exists in the _is_clamav_binary function within Index.js. The function lacks proper input validation, allowing attackers to inject arbitrary commands. The CVSS v3.1 base score is 3.6 (Low), with attack vector being Local, attack complexity High, and requiring low privileges. The vulnerability affects the package's integrity and confidentiality with low impact, while having no impact on availability (Snyk DB).

Impact

A successful exploitation could allow an attacker to execute arbitrary commands on the affected system. However, the impact is limited by the prerequisite condition that requires a folder to be created with the same command that will be chained to execute. The vulnerability can lead to modification of data and potential access to restricted information, though the attacker's control over these outcomes is limited (Snyk DB).

Mitigation and workarounds

The recommended mitigation is to upgrade the clamscan package to version 1.3.0 or higher, which contains the fix for this vulnerability (Snyk DB).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22610HIGH8.5
  • JavaScriptJavaScript
  • angular.js
NoYesJan 10, 2026
CVE-2026-22595HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22594HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22596MEDIUM6.7
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22597LOW2
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management