CVE-2024-20328 json
ClamAV VirusEvent File Processing Command Injection Vulnerability
published 2024-03-01 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-18043
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 84.8%
- EPSS 84.8% chance of exploitation in 30 days, percentile 99.7%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- cisco clam_antivirus 1.0.5-0, 1.2.2-0
- cisco clamav 1.0.5-0, 1.2.2-0
- clamav clamav 1.0.5-0, 1.2.2-0
- clamavs clamav 1.0.5-0, 1.2.2-0
- clam_anti-virus clamav 1.0.5-0, 1.2.2-0
- clamav Debian 12 1.0.5+dfsg-1~deb12u1
- clamav Debian 14, Debian 13 1.0.5+dfsg-1
debian advisories DEBIAN-CVE-2024-20328
- clamav Ubuntu 24.04 LTS 1.0.5+dfsg-1ubuntu1
ubuntu advisories UBUNTU-CVE-2024-20328
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- clamav Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 1.2.2-r0
alpine advisories ALPINE-CVE-2024-20328
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- clamav CBL-Mariner 2.0 0.105.2-5
- clamav Azure Linux 3.0 1.0.6-1
azure linux advisories AZL-35428AZL-35431
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-20328 updated cvss 7.3
clamav: command injection vulnerability in the "VirusEvent" feature of ClamD service
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
84.84% chance of exploitation in the next 30 days, higher than 99.7% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
Affected products
- Cisco ClamAV
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
Sources
- CVE List CVE-2024-20328
- NVD CVE-2024-20328
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.