What’s Vulnerable › Vulnerabilities
CVE-2024-20328: ClamAV VirusEvent File Processing Command Injection Vulnerability
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 84.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-01 · updated 2026-06-17
- Weakness: CWE-78
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
- Cisco ClamAV: from 1.0.0 before 1.0.5; from 1.2.0 before 1.2.2 — fixed in 1.0.5, 1.2.2
How to fix
Upgrade to a fixed version: Cisco ClamAV 1.0.5, 1.2.2. Check the vendor advisory for mitigations.
References
- https://blog.clamav.net/2023/11/clamav-130-122-105-released.html
- https://blog.clamav.net/2023/11/clamav-130-122-105-released.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5FXZYVDNV66RNMNVJOHAJAYRZV4U64CQ/
Get alerted when CVE-2024-20328 or the next vulnerability affects your stack