CVE-2024-20506
published 2024-09-04CVE-2024-20506: 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…
PriorityP429medium6.1CVSS 3.1
AVLACLPRLUINSUCNILAH
EPSS
0.32%
23.9th percentile
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
46 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| cisco | clamav | — | — |
| clamav | clamav | < 0.103.12 | 0.103.12 |
CVSS provenance
nvdv3.16.1MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
osv7.5HIGH
vendor_debian6.1MEDIUM
vendor_msrc6.1MEDIUM
vendor_ubuntu4.0MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
clamav vulnerabilities
osv·2024-09-17·CVSS 7.5
CVE-2024-20505 [HIGH] clamav vulnerabilities
clamav vulnerabilities
USN-7011-1 fixed several vulnerabilities in ClamAV. This update provides
the corresponding update for Ubuntu 16.04 LTS and Ubuntu 18.04 LTS.
Original advisory details:
It was discovered that ClamAV incorrectly handled certain PDF files. A
remote attacker could possibly use this issue to cause ClamAV to crash,
resulting in a denial of service. (CVE-2024-20505)
It was discovered that ClamAV incorrectly handled logfile privileges. A
local attacker could use this issue to cause ClamAV to overwrite arbitrary
files, possibly leading to privilege escalation. (CVE-2024-20506)
OSV
clamav vulnerabilities
osv·2024-09-16·CVSS 7.5
CVE-2024-20505 [HIGH] clamav vulnerabilities
clamav vulnerabilities
It was discovered that ClamAV incorrectly handled certain PDF files. A
remote attacker could possibly use this issue to cause ClamAV to crash,
resulting in a denial of service. (CVE-2024-20505)
It was discovered that ClamAV incorrectly handled logfile privileges. A
local attacker could use this issue to cause ClamAV to overwrite arbitrary
files, possibly leading to privilege escalation. (CVE-2024-20506)
GHSA
GHSA-h5fr-q576-q7rv: A vulnerability in the ClamD service module of Clam AntiVirus (ClamAV) versions 1
ghsa_unreviewed·2024-09-05
CVE-2024-20506 [MEDIUM] CWE-754 GHSA-h5fr-q576-q7rv: A vulnerability in the ClamD service module of Clam AntiVirus (ClamAV) versions 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.
OSV
CVE-2024-20506: A vulnerability in the ClamD service module of Clam AntiVirus (ClamAV) versions 1
osv·2024-09-04·CVSS 6.1
CVE-2024-20506 [MEDIUM] CVE-2024-20506: A vulnerability in the ClamD service module of Clam AntiVirus (ClamAV) versions 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.
Ubuntu
ClamAV vulnerabilities
vendor_ubuntu·2024-09-17·CVSS 4.0
CVE-2024-20505 [MEDIUM] ClamAV vulnerabilities
Title: ClamAV vulnerabilities
Summary: Several security issues were fixed in ClamAV.
USN-7011-1 fixed several vulnerabilities in ClamAV. This update provides
the corresponding update for Ubuntu 16.04 LTS and Ubuntu 18.04 LTS.
Original advisory details:
It was discovered that ClamAV incorrectly handled certain PDF files. A
remote attacker could possibly use this issue to cause ClamAV to crash,
resulting in a denial of service. (CVE-2024-20505)
It was discovered that ClamAV incorrectly handled logfile privileges. A
local attacker could use this issue to cause ClamAV to overwrite arbitrary
files, possibly leading to privilege escalation. (CVE-2024-20506)
Instructions: This update uses a new upstream release, which includes additional bug
fixes. In general, a standard system update will
Ubuntu
ClamAV vulnerabilities
vendor_ubuntu·2024-09-16·CVSS 4.0
CVE-2024-20505 [MEDIUM] ClamAV vulnerabilities
Title: ClamAV vulnerabilities
Summary: Several security issues were fixed in ClamAV.
It was discovered that ClamAV incorrectly handled certain PDF files. A
remote attacker could possibly use this issue to cause ClamAV to crash,
resulting in a denial of service. (CVE-2024-20505)
It was discovered that ClamAV incorrectly handled logfile privileges. A
local attacker could use this issue to cause ClamAV to overwrite arbitrary
files, possibly leading to privilege escalation. (CVE-2024-20506)
Instructions: This update uses a new upstream release, which includes additional bug
fixes. In general, a standard system update will make all the necessary
changes.
Microsoft
ClamAV Privilege Handling Escalation Vulnerability
vendor_msrc·2024-09-10·CVSS 6.1
CVE-2024-20506 [MEDIUM] CWE-754 ClamAV Privilege Handling Escalation Vulnerability
ClamAV Privilege Handling Escalation Vulnerability
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
cisco: cisco
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.micr
Debian
CVE-2024-20506: clamav - A vulnerability in the ClamD service module of Clam AntiVirus (ClamAV) versions ...
vendor_debian·2024·CVSS 6.1
CVE-2024-20506 [MEDIUM] CVE-2024-20506: clamav - A vulnerability in the ClamD service module of Clam AntiVirus (ClamAV) versions ...
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.
Scope: local
bookworm: re
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2024-09-04
Published