Skip to content
OpenAdvisories
Medium · 6.1 CVE-2024-20506 EUVD-2024-18221GHSA-h5fr-q576-q7rv

ClamAV Privilege Handling Escalation Vulnerability

Published Sep 4, 2024 · Updated Nov 3, 2025 · Assigned by cisco

Description

A vulnerability in the ClamD service module of Clam AntiVirus (ClamAV) versions 1.4.0, 1.3.2 and prior versions, all 1.2.x versions, 1.0.6 and prior versions, all 0.105.x versions, all 0.104.x versions, and 0.103.11 and all prior versions could allow an authenticated, local attacker to corrupt critical system files.

The vulnerability is due to allowing the ClamD process to write to its log file while privileged without checking if the logfile has been replaced with a symbolic link. An attacker could exploit this vulnerability if they replace the ClamD log file with a symlink to a critical system file and then find a way to restart the ClamD process. An exploit could allow the attacker to corrupt a critical system file by appending ClamD log messages after restart.

Affected products

VendorProductAffectedFixed
Cisco ClamAV 1.4.0, 1.3.2, 1.0.6, 1.0.5, 1.0.4, 1.0.3, 1.0.2, 1.0.1, 1.0.0, 1.2.x, 0.105.x, 0.104.x, 0.103.11, 0.103.10, 0.103.9, 0.103.8, 0.103.7, 0.103.6, 0.103.5, 0.103.4, 0.103.3, 0.103.2, 0.103.1, 0.103.0 —

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.4.1+dfsg-1 —
Debian 13 clamav 1.4.1+dfsg-1 —
Debian 12 clamav 1.0.7+dfsg-1~deb12u1 —
Debian 11 clamav 1.0.7+dfsg-1~deb11u1 DLA-3983-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS clamav 1.0.7+dfsg-0ubuntu0.24.04.1 USN-7011-1
Ubuntu 22.04 LTS clamav 0.103.12+dfsg-0ubuntu0.22.04.1 USN-7011-1
Ubuntu 20.04 LTS clamav 0.103.12+dfsg-0ubuntu0.20.04.1 USN-7011-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS clamav 0.103.12+dfsg-0ubuntu0.18.04.1+esm1 USN-7011-2
Ubuntu Pro 16.04 LTS clamav 0.103.12+dfsg-0ubuntu0.16.04.1+esm1 USN-7011-2
Ubuntu Pro 14.04 LTS clamav No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP6 clamav 0.103.12-150600.18.3.1 SUSE-SU-2025:0327-1, SUSE-SU-2024:3306-1
SLES 15 SP5 clamav 0.103.12-150000.3.53.1 SUSE-SU-2025:0325-1, SUSE-SU-2024:3305-1
SLES 15 SP4 clamav 0.103.12-150000.3.53.1 SUSE-SU-2025:0325-1, SUSE-SU-2024:3305-1
SLES 15 SP3 clamav 0.103.12-150000.3.53.1 SUSE-SU-2025:0325-1, SUSE-SU-2024:3305-1
SLES 15 SP2 clamav 0.103.12-150000.3.53.1 SUSE-SU-2024:3305-1
Show 14 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 clamav 0.103.12-3.33.1 SUSE-SU-2025:0328-1, SUSE-SU-2024:3228-1
SLES for SAP 15 SP5 clamav 1.4.2-150200.8.3.1 SUSE-SU-2025:0325-1
SLES for SAP 15 SP4 clamav 0.103.12-150000.3.53.1 SUSE-SU-2025:0325-1, SUSE-SU-2024:3305-1
SLES for SAP 15 SP3 clamav 0.103.12-150000.3.53.1 SUSE-SU-2025:0325-1, SUSE-SU-2024:3305-1
SLES for SAP 15 SP2 clamav 0.103.12-150000.3.53.1 SUSE-SU-2024:3305-1
SLES for SAP 12 SP5 clamav 0.103.12-3.33.1 SUSE-SU-2024:3228-1
SLE Micro 5.5 clamav 1.4.2-150200.8.3.1 SUSE-SU-2025:0325-1
SLE HPC 15 SP5 clamav 1.4.2-150200.8.3.1 SUSE-SU-2025:0325-1
SLE HPC 15 SP4 clamav 0.103.12-150000.3.53.1 SUSE-SU-2025:0325-1, SUSE-SU-2024:3305-1
SLE HPC 15 SP3 clamav 0.103.12-150000.3.53.1 SUSE-SU-2025:0325-1, SUSE-SU-2024:3305-1
SLE HPC 15 SP2 clamav 0.103.12-150000.3.53.1 SUSE-SU-2024:3305-1
SUSE Manager Server 4.3 clamav 0.103.12-150000.3.53.1 SUSE-SU-2025:0325-1, SUSE-SU-2024:3305-1
SUSE Manager Proxy 4.3 clamav 0.103.12-150000.3.53.1 SUSE-SU-2025:0325-1, SUSE-SU-2024:3305-1
SUSE Enterprise Storage 7.1 clamav 0.103.12-150000.3.53.1 SUSE-SU-2025:0325-1, SUSE-SU-2024:3305-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed clamav 1.4.1-1.1 openSUSE-SU-2024:14596-1
openSUSE Leap 15.6 clamav 0.103.12-150600.18.3.1 SUSE-SU-2025:0327-1, SUSE-SU-2024:3306-1
openSUSE Leap 15.5 clamav 0.103.12-150000.3.53.1 SUSE-SU-2024:3305-1
ReleasePackageFixed inAdvisory
Alpine v3.24 clamav 1.3.2-r0 —
Alpine v3.23 clamav 1.3.2-r0 —
Alpine v3.22 clamav 1.3.2-r0 —
Alpine v3.21 clamav 1.3.2-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 clamd +8 0.103.12-1.amzn2023.0.1 ALAS2023-2024-737
Amazon Linux 2 clamd +8 0.103.12-1.amzn2.0.1 ALAS2-2024-2644

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 clamav 1.0.7-1 —
Azure Linux 2 (CBL-Mariner) clamav 1.0.7-1 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling clamav-1.4 1.4.1-r0 —

Advisories 13

References