Skip to content
Fencer Vulns
medium 6.1

CVE-2024-20506 json

ClamAV Privilege Handling Escalation Vulnerability

published 2024-09-04 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-18221

cvss
6.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 24%
public exploits
0
none known

Summary

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.

Patch / fix

  • cisco clam_antivirus 0.103.12-0, 1.0.7-0, 1.3.2-0, 1.4.1-0
  • cisco clamav 0.103.12-0, 1.0.7-0, 1.3.2-0, 1.4.1-0
  • clamav clamav 0.103.12-0, 1.0.7-0, 1.3.2-0, 1.4.1-0
  • clamavs clamav 0.103.12-0, 1.0.7-0, 1.3.2-0, 1.4.1-0
  • clam_anti-virus clamav 0.103.12-0, 1.0.7-0, 1.3.2-0, 1.4.1-0
  • clamav Debian 12 1.0.7+dfsg-1~deb12u1
  • clamav Debian 14, Debian 13 1.4.1+dfsg-1

debian advisories DEBIAN-CVE-2024-20506

  • clamav Ubuntu 20.04 LTS 0.103.12+dfsg-0ubuntu0.20.04.1
  • clamav Ubuntu 22.04 LTS 0.103.12+dfsg-0ubuntu0.22.04.1
  • clamav Ubuntu 24.04 LTS 1.0.7+dfsg-0ubuntu0.24.04.1
  • clamav Ubuntu Pro 16.04 LTS 0.103.12+dfsg-0ubuntu0.16.04.1+esm1
  • clamav Ubuntu Pro 18.04 LTS 0.103.12+dfsg-0ubuntu0.18.04.1+esm1

ubuntu advisories UBUNTU-CVE-2024-20506

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • clamav SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 1.4.2-150600.18.6.1
  • clamav SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +12 more 1.4.2-150200.8.3.1
  • clamav SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 0.103.12-150600.18.3.1
  • clamav SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +12 more 0.103.12-150000.3.53.1
  • clamav SLES for SAP 12 SP5, SLES 12 SP5 0.103.12-3.33.1
  • clamav SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 1.4.2-3.36.1

suse advisories SUSE-SU-2025:0328-1SUSE-SU-2025:0327-1SUSE-SU-2025:0325-1SUSE-SU-2024:3306-1SUSE-SU-2024:3305-1SUSE-SU-2024:3228-1

  • clamav openSUSE Tumbleweed 1.4.1-1.1

opensuse advisories openSUSE-SU-2024:14596-1

  • clamav Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 1.3.2-r0

alpine advisories ALPINE-CVE-2024-20506

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • clamav CBL-Mariner 2.0, Azure Linux 3.0 1.0.7-1

azure linux advisories AZL-48624AZL-48665

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-20506 updated cvss 6.1

clamav: ClamD process writes to log file while privileged without checking if its been replaced with a symlink

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.32% chance of exploitation in the next 30 days, higher than 24% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 6.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
NVD 3.1 6.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H

Affected products

  • Cisco ClamAV

Classification

Weakness
  • CWE-754 Improper Check for Unusual or Exceptional Conditions

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.