Bug 2263264 (CVE-2024-20328) - CVE-2024-20328 clamav: command injection vulnerability in the "VirusEvent" feature of ClamD service
Summary: CVE-2024-20328 clamav: command injection vulnerability in the "VirusEvent" fe...
Keywords:
Status: NEW
Alias: CVE-2024-20328
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2263265 2263266
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-02-07 23:09 UTC by Robb Gatica
Modified: 2024-02-07 23:09 UTC (History)
0 users

Fixed In Version: ClamAV 1.2.2, ClamAV 1.0.5
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Robb Gatica 2024-02-07 23:09:32 UTC
CVE-2024-20328: Fixed a possible command injection vulnerability in the "VirusEvent" feature of ClamAV's ClamD service. To fix this issue, we disabled the '%f' format string parameter.  ClamD administrators may continue to use the `CLAM_VIRUSEVENT_FILENAME`  environment variable, instead of '%f'. But you should do so only from within  an executable, such as a Python script, and not directly in the clamd.conf "VirusEvent" command.

Affected versions:
0.104 (all patch versions)
0.105 (all patch versions)
1.0.0 through 1.0.4 (LTS)
1.1 (all patch versions)
1.2.0 and 1.2.1

References:
https://blog.clamav.net/2023/11/clamav-130-122-105-released.html

Comment 1 Robb Gatica 2024-02-07 23:09:52 UTC
Created clamav tracking bugs for this issue:

Affects: epel-all [bug 2263265]
Affects: fedora-all [bug 2263266]


Note You need to log in before you can comment on or make changes to this bug.