CVE-2024-20328: ClamAV VirusEvent File Processing Command Injection Vulnerability

Published Feb 9, 2024
·
Updated

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.

Other sources

ClamAV VirusEvent File Processing Command Injection Vulnerability

Microsoft

Affected Software

9 affected componentsFixes available
ubuntu/clamav<1.0.5+dfsg-0ubuntu0.23.10.1
1.0.5+dfsg-0ubuntu0.23.10.1
ubuntu/clamav<1.0.5+dfsg-1ubuntu1
1.0.5+dfsg-1ubuntu1
ubuntu/clamav<1.0.5+dfsg-1
1.0.5+dfsg-1
debian/clamav<=1.0.3+dfsg-1~deb12u1
0.103.6+dfsg-0+deb10u10.103.9+dfsg-0+deb10u10.103.10+dfsg-0+deb11u11.0.6+dfsg-1
clamav clamav>=1.0.0<1.0.5
clamav clamav>=1.2.0<1.2.2
Microsoft azl3 clamav 0.105.2-4
Microsoft cbl2 clamav 0.105.2-5
Microsoft azl3 clamav 1.0.6-1

Event History

Feb 9, 2024
CVE Published
via Ubuntu·12:00 AM
Mar 1, 2024
CVE Published
via MITRE·08:48 PM
Data Sourced
via MITRE·08:48 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
Affected Software
Mar 29, 2024
Data Sourced
via Launchpad·05:44 PM
Description
Jun 30, 2024
Data Sourced
via Microsoft·02:00 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·02:00 PM
Affected Software
Updated
via Microsoft·02:00 PM
Affected Software
Updated
via Microsoft·02:00 PM
DescriptionSeverity

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-20328?

CVE-2024-20328 is considered a high severity vulnerability due to its potential for local command injection.

2

How do I fix CVE-2024-20328?

To fix CVE-2024-20328, upgrade to the latest ClamAV version that is not affected, such as 1.0.6+dfsg-1 for Debian or 1.0.5+dfsg-0ubuntu0.23.10.1 for Ubuntu.

3

Which systems are affected by CVE-2024-20328?

CVE-2024-20328 affects certain versions of ClamAV on Debian and Ubuntu systems, specifically versions before the patched releases.

4

What is the impact of CVE-2024-20328?

The impact of CVE-2024-20328 allows a local attacker to execute arbitrary commands with the application's service account privileges.

5

Can CVE-2024-20328 be exploited remotely?

No, CVE-2024-20328 can only be exploited by a local attacker with access to the system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203