Vulnerability · Published Sep 4, 2024 · Assigned by cisco

CVE-2024-20506ClamAV Privilege Handling Escalation Vulnerability

Medium 6.1

In plain English

A medium-severity security flaw in ClamAV from Cisco. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.3%top 75.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.21clamav1.3.2-r0ALPINE-CVE-2024-20506
Alpine:v3.22clamav1.3.2-r0ALPINE-CVE-2024-20506
Alpine:v3.23clamav1.3.2-r0ALPINE-CVE-2024-20506
Alpine:v3.24clamav1.3.2-r0ALPINE-CVE-2024-20506
Debian:12clamav1.0.7+dfsg-1~deb12u1DEBIAN-CVE-2024-20506
Debian:13clamav1.4.1+dfsg-1DEBIAN-CVE-2024-20506
Debian:14clamav1.4.1+dfsg-1DEBIAN-CVE-2024-20506
Ubuntu:22.04:LTSclamav0.103.12+dfsg-0ubuntu0.22.04.1USN-7011-1
Ubuntu:22.04:LTSclamav0.103.12+dfsg-0ubuntu0.22.04.1UBUNTU-CVE-2024-20506
Ubuntu:24.04:LTSclamav1.0.7+dfsg-0ubuntu0.24.04.1UBUNTU-CVE-2024-20506
Ubuntu:24.04:LTSclamav1.0.7+dfsg-0ubuntu0.24.04.1USN-7011-1

Affected products (as reported)

VendorProductVersions
Cisco ClamAV 1.4.01.3.21.0.61.0.51.0.41.0.31.0.21.0.1

Weakness: CWE-754 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H

References