Advisory

GHSA-5v25-xr56-phph

Also known as: CVE-2020-7613, SNYK-JS-CLAMSCAN-564113

Summary

Clamscan vulnerable to command injection

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 17:13 UTC
Modified
2026-07-08 06:49 UTC

Affected packages and fixes

clamscan

npm · All systems

Affected

  • introduced 0, fixed 1.3.0 (semver)

Fixed versions

1.3.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences