CVE & CISA-KEV Catalog

CVE-2024-20506

MEDIUM
6.1
CVSS v3
NVD

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.

How to fix

Remediation Available
clamavDebian
Fixed in:1.0.7+dfsg-1~deb11u1CVE-2024-20506
Fixed in:1.0.7+dfsg-1~deb12u1CVE-2024-20506
Fixed in:1.4.1+dfsg-1CVE-2024-20506
Fixed in:1.4.1+dfsg-1CVE-2024-20506
clamavUbuntu
Fixed in:0.103.12+dfsg-0ubuntu0.16.04.1+esm1USN-7011-2
Fixed in:0.103.12+dfsg-0ubuntu0.18.04.1+esm1USN-7011-2
Fixed in:0.103.12+dfsg-0ubuntu0.20.04.1USN-7011-1
Fixed in:0.103.12+dfsg-0ubuntu0.22.04.1USN-7011-1
Fixed in:1.0.7+dfsg-0ubuntu0.24.04.1USN-7011-1
ClamAVWindows application
Affected:0.103.12Fixed in:0.103.12Cisco Systems, Inc.
Affected:1.2.0 1.3.2Fixed in:1.3.2Cisco Systems, Inc.
Affected:0.104.0 1.0.7Fixed in:1.0.7Cisco Systems, Inc.

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityLow
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H

Exploit Intelligence

0.32%probability of exploitation in 30 days
24thpercentile

Low risk: more likely to be exploited than 24% of all known CVEs.

References

Release Notes1
Other references1

Related Vulnerabilities

Other CWE-754 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-4367High8.873%-Fix
CVE-2022-39288High7.559%-Fix
CVE-2023-30591High7.554%--
CVE-2023-41993High8.829%KEVFix
CVE-2024-43044High8.829%-Fix
CVE-2024-3393High7.527%KEVFix
Embed a live status badge for CVE-2024-20506
CVE-2024-20506 severity badge

Markdown

[![CVE-2024-20506](https://tridentstack.com/cve/badge/CVE-2024-20506.svg)](https://tridentstack.com/cve/CVE-2024-20506)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-20506"><img src="https://tridentstack.com/cve/badge/CVE-2024-20506.svg" alt="CVE-2024-20506"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.