Skip to content
OpenAdvisories
Medium · 5.3 CVE-2024-20328 EUVD-2024-18043GHSA-vhq6-cjc8-x8v9

ClamAV VirusEvent File Processing Command Injection Vulnerability

Published Mar 1, 2024 · Updated Nov 4, 2025 · Assigned by cisco

Description

A vulnerability in the VirusEvent feature of ClamAV could allow a local attacker to inject arbitrary commands with the privileges of the application service account.The vulnerability is due to unsafe handling of file names. A local attacker could exploit this vulnerability by supplying a file name containing command-line sequences. When processed on a system using configuration options for the VirusEvent feature, the attacker could cause the application to execute arbitrary commands.
ClamAV has released software updates that address this vulnerability. There are no workarounds that address this vulnerability.

Affected products

VendorProductAffectedFixed
Cisco ClamAV 1.2.0, 1.2.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 clamav 1.0.5+dfsg-1 —
Debian 13 clamav 1.0.5+dfsg-1 —
Debian 12 clamav 1.0.5+dfsg-1~deb12u1 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS clamav 1.0.5+dfsg-1ubuntu1 —
ReleasePackageFixed inAdvisory
Alpine v3.24 clamav 1.2.2-r0 —
Alpine v3.23 clamav 1.2.2-r0 —
Alpine v3.22 clamav 1.2.2-r0 —
Alpine v3.21 clamav 1.2.2-r0 —
Alpine v3.20 clamav 1.2.2-r0 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 clamav 1.2.2-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 clamav 1.0.6-1 —
Azure Linux 2 (CBL-Mariner) clamav 0.105.2-5 —

Advisories 1

References