CVE-2024-20506
Fixed in a distro release EPSS <1%CVSS 6.1
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.
Products: Cisco ClamAV
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Chainguard | clamav | 1.4.1-r0 |
| Chainguard | clamav-1.3 | 1.3.2-r0 |
| Chainguard | clamav-1.3-clamdscan | 1.3.2-r0 |
| Chainguard | clamav-1.3-daemon | 1.3.2-r0 |
| Chainguard | clamav-1.3-db | 1.3.2-r0 |
| Chainguard | clamav-1.3-dev | 1.3.2-r0 |
| Chainguard | clamav-1.3-doc | 1.3.2-r0 |
| Chainguard | clamav-1.3-freshclam | 1.3.2-r0 |
| Chainguard | clamav-1.3-libunrar | 1.3.2-r0 |
| Chainguard | clamav-1.3-milter | 1.3.2-r0 |
| Chainguard | clamav-1.3-scanner | 1.3.2-r0 |
| Chainguard | clamav-1.4 | 1.4.1-r0 |
| Chainguard | clamav-1.4-clamdscan | 1.4.1-r0 |
| Chainguard | clamav-1.4-daemon | 1.4.1-r0 |
| Chainguard | clamav-1.4-db | 1.4.1-r0 |
| Chainguard | clamav-1.4-dev | 1.4.1-r0 |
| Chainguard | clamav-1.4-doc | 1.4.1-r0 |
| Chainguard | clamav-1.4-docker | 1.4.1-r0 |
| Chainguard | clamav-1.4-freshclam | 1.4.1-r0 |
| Chainguard | clamav-1.4-libunrar | 1.4.1-r0 |
| Chainguard | clamav-1.4-milter | 1.4.1-r0 |
| Chainguard | clamav-1.4-scanner | 1.4.1-r0 |
| Chainguard | clamav-clamdscan | 1.4.1-r0 |
| Chainguard | clamav-daemon | 1.4.1-r0 |
| Chainguard | clamav-db | 1.4.1-r0 |
| Chainguard | clamav-dev | 1.4.1-r0 |
| Chainguard | clamav-doc | 1.4.1-r0 |
| Chainguard | clamav-libunrar | 1.4.1-r0 |
| Chainguard | clamav-milter | 1.4.1-r0 |
| Chainguard | clamav-scanner | 1.4.1-r0 |
| Chainguard | freshclam | 1.4.1-r0 |
| Debian 11 | clamav | 1.0.7+dfsg-1~deb11u1 |
| Debian 12 | clamav | 1.0.7+dfsg-1~deb12u1 |
| Debian 13 | clamav | 1.4.1+dfsg-1 |
| Debian 14 | clamav | 1.4.1+dfsg-1 |
| SUSE Enterprise Storage 7.1 | clamav | 1.4.2-150200.8.3.1 |
| SUSE Enterprise Storage 7.1 | clamav | 0.103.12-150000.3.53.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | clamav | 0.103.12-150000.3.53.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | clamav | 1.4.2-150200.8.3.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | clamav | 0.103.12-150000.3.53.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | clamav | 1.4.2-150200.8.3.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | clamav | 0.103.12-150000.3.53.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | clamav | 0.103.12-150000.3.53.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | clamav | 1.4.2-150200.8.3.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | clamav | 1.4.2-150200.8.3.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | clamav | 1.4.2-150200.8.3.1 |
| SUSE Linux Enterprise Micro 5.5 | clamav | 1.4.2-150200.8.3.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP5 | clamav | 0.103.12-150000.3.53.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | clamav | 0.103.12-150600.18.3.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | clamav | 1.4.2-150600.18.6.1 |
| SUSE Linux Enterprise Server 12 SP5 | clamav | 0.103.12-3.33.1 |
| SUSE Linux Enterprise Server 12 SP5-LTSS | clamav | 1.4.2-3.36.1 |
| SUSE Linux Enterprise Server 15 SP2-LTSS | clamav | 0.103.12-150000.3.53.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | clamav | 1.4.2-150200.8.3.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | clamav | 0.103.12-150000.3.53.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | clamav | 0.103.12-150000.3.53.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | clamav | 1.4.2-150200.8.3.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | clamav | 1.4.2-150200.8.3.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | clamav | 1.4.2-3.36.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | clamav | 0.103.12-3.33.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | clamav | 0.103.12-150000.3.53.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | clamav | 1.4.2-150200.8.3.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | clamav | 0.103.12-150000.3.53.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | clamav | 1.4.2-150200.8.3.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | clamav | 0.103.12-150000.3.53.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | clamav | 1.4.2-150200.8.3.1 |
| SUSE Manager Proxy 4.3 | clamav | 1.4.2-150200.8.3.1 |
| SUSE Manager Proxy 4.3 | clamav | 0.103.12-150000.3.53.1 |
| SUSE Manager Server 4.3 | clamav | 1.4.2-150200.8.3.1 |
| SUSE Manager Server 4.3 | clamav | 0.103.12-150000.3.53.1 |
| Ubuntu 20.04 LTS | clamav | 0.103.12+dfsg-0ubuntu0.20.04.1 |
| Ubuntu 22.04 LTS | clamav | 0.103.12+dfsg-0ubuntu0.22.04.1 |
| Ubuntu 24.04 LTS | clamav | 1.0.7+dfsg-0ubuntu0.24.04.1 |
| Ubuntu Pro 14.04 LTS | clamav | no fix |
| Ubuntu Pro 16.04 LTS | clamav | 0.103.12+dfsg-0ubuntu0.16.04.1+esm1 |
| Ubuntu Pro 18.04 LTS | clamav | 0.103.12+dfsg-0ubuntu0.18.04.1+esm1 |
| Wolfi | clamav | 1.4.1-r0 |
| Wolfi | clamav-1.3 | 1.3.2-r0 |
| Wolfi | clamav-1.3-clamdscan | 1.3.2-r0 |
| Wolfi | clamav-1.3-daemon | 1.3.2-r0 |
| Wolfi | clamav-1.3-db | 1.3.2-r0 |
| Wolfi | clamav-1.3-dev | 1.3.2-r0 |
| Wolfi | clamav-1.3-doc | 1.3.2-r0 |
| Wolfi | clamav-1.3-freshclam | 1.3.2-r0 |
| Wolfi | clamav-1.3-libunrar | 1.3.2-r0 |
| Wolfi | clamav-1.3-milter | 1.3.2-r0 |
| Wolfi | clamav-1.3-scanner | 1.3.2-r0 |
| Wolfi | clamav-1.4 | 1.4.1-r0 |
| Wolfi | clamav-1.4-clamdscan | 1.4.1-r0 |
| Wolfi | clamav-1.4-daemon | 1.4.1-r0 |
| Wolfi | clamav-1.4-db | 1.4.1-r0 |
| Wolfi | clamav-1.4-dev | 1.4.1-r0 |
| Wolfi | clamav-1.4-doc | 1.4.1-r0 |
| Wolfi | clamav-1.4-docker | 1.4.1-r0 |
| Wolfi | clamav-1.4-freshclam | 1.4.1-r0 |
| Wolfi | clamav-1.4-libunrar | 1.4.1-r0 |
| Wolfi | clamav-1.4-milter | 1.4.1-r0 |
| Wolfi | clamav-1.4-scanner | 1.4.1-r0 |
| Wolfi | clamav-clamdscan | 1.4.1-r0 |
| Wolfi | clamav-daemon | 1.4.1-r0 |
| Wolfi | clamav-db | 1.4.1-r0 |
| Wolfi | clamav-dev | 1.4.1-r0 |
| Wolfi | clamav-doc | 1.4.1-r0 |
| Wolfi | clamav-libunrar | 1.4.1-r0 |
| Wolfi | clamav-milter | 1.4.1-r0 |
| Wolfi | clamav-scanner | 1.4.1-r0 |
| Wolfi | freshclam | 1.4.1-r0 |
| openSUSE Leap 15.5 | clamav | 0.103.12-150000.3.53.1 |
| openSUSE Leap 15.6 | clamav | 1.4.2-150600.18.6.1 |
| openSUSE Leap 15.6 | clamav | 0.103.12-150600.18.3.1 |
| openSUSE Tumbleweed | clamav | 1.4.1-1.1 |