CVE-2024-20506

ClamAV Privilege Handling Escalation Vulnerability

6.1 medium EPSS 0.32%

Published 4 Sep 2024 Updated 3 Nov 2025 CNA: 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.

Severity (CVSS)

6.1 medium CVSS 3.1 from cisco (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality none, integrity low, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.32%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 26.6% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-754 Improper Check for Unusual or Exceptional Conditions

Affected products

As the CNA lists them.

ProductVersions
ClamAV
affected 1.4.0
affected 1.3.2
affected 1.0.6
affected 1.0.5
affected 1.0.4
affected 1.0.3
affected 1.0.2
affected 1.0.1
affected 1.0.0
affected 1.2.x
affected 0.105.x
affected 0.104.x
affected 0.103.11
affected 0.103.10
affected 0.103.9
affected 0.103.8
affected 0.103.7
affected 0.103.6
affected 0.103.5
affected 0.103.4
affected 0.103.3
affected 0.103.2
affected 0.103.1
affected 0.103.0
Other versions: unknown

Is my server affected?

This CVE is in ClamAV of Cisco, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2024-20506 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.