CVE-2024-20506
CVE-2024-20506 · ClamAV Privilege Handling Escalation Vulnerability
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.1 · Medium · EPSS 0.3% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
clamav
- Versions
- 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: Affected
No fix published
clamav Debian:12
- Versions
- 1.0.1+dfsg-2
- 1.0.2+dfsg-1
- 1.0.2+dfsg-1~deb12u1
- 1.0.3+dfsg-1
- 1.0.3+dfsg-1~deb12u1
- 1.0.3+dfsg-2
- 1.0.4+dfsg-1
- 1.0.5+dfsg-1
- 1.0.5+dfsg-1.1
- 1.0.5+dfsg-1~deb12u1
- 1.0.6+dfsg-1
- 1.0.7+dfsg-1~deb11u1
- 1.0.7+dfsg-1~deb11u2
- Affected ranges
- ECOSYSTEM: < 1.0.7+dfsg-1~deb12u1
Update to 1.0.7+dfsg-1~deb12u1
clamav Debian:13
- Affected ranges
- ECOSYSTEM: < 1.4.1+dfsg-1
Update to 1.4.1+dfsg-1
clamav Debian:14
- Affected ranges
- ECOSYSTEM: < 1.4.1+dfsg-1
Update to 1.4.1+dfsg-1
clamav Ubuntu:Pro:14.04:LTS
- Versions
- 0.97.8+dfsg-1ubuntu4
- 0.97.8+dfsg-1ubuntu5
- 0.98.1+dfsg-1ubuntu4
- 0.98.1+dfsg-1ubuntu5
- 0.98.1+dfsg-2ubuntu2
- 0.98.1+dfsg-4ubuntu1
- 0.98.1+dfsg-4ubuntu1.1
- 0.98.5+addedllvm-0ubuntu0.14.04.1
- 0.98.6+dfsg-0ubuntu0.14.04.1
- 0.98.7+dfsg-0ubuntu0.14.04.1
- 0.99.2+addedllvm-0ubuntu0.14.04.1
- 0.99.2+addedllvm-0ubuntu0.14.04.2
- 0.99.3+addedllvm-0ubuntu0.14.04.1
- 0.99.4+addedllvm-0ubuntu0.14.04.1
- 0.100.1+dfsg-1ubuntu0.14.04.1
- 0.100.1+dfsg-1ubuntu0.14.04.2
- 0.100.1+dfsg-1ubuntu0.14.04.3
- 0.100.1+dfsg-1ubuntu0.14.04.4
- 0.100.2+dfsg-1ubuntu0.14.04.1
- 0.100.2+dfsg-1ubuntu0.14.04.2
- 0.100.3+dfsg-0ubuntu0.14.04.1
- 0.100.3+dfsg-0ubuntu0.14.04.1+esm1
- 0.101.4+dfsg-0ubuntu0.14.04.1+esm1
- 0.102.1+dfsg-0ubuntu0.14.04.1+esm1
- 0.102.2+dfsg-0ubuntu0.14.04.1+esm1
- 0.102.3+dfsg-0ubuntu0.14.04.1+esm1
- 0.102.4+dfsg-0ubuntu0.14.04.1+esm1
- 0.103.2+dfsg-0ubuntu0.14.04.1+esm1
- 0.103.2+dfsg-0ubuntu0.14.04.1+esm2
- 0.103.5+dfsg-0ubuntu0.14.04.1+esm1
- 0.103.6+dfsg-0ubuntu0.14.04.1+esm1
- 0.103.8+dfsg-0ubuntu0.14.04.1+esm1
- 0.103.9+dfsg-0ubuntu0.14.04.1+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
clamav Ubuntu:Pro:16.04:LTS
- Versions
- 0.98.7+dfsg-0ubuntu4
- 0.98.7+dfsg-0ubuntu5
- 0.99+dfsg-1ubuntu1
- 0.99+dfsg-1ubuntu1.1
- 0.99+dfsg-1ubuntu1.2
- 0.99.2+dfsg-0ubuntu0.16.04.1
- 0.99.2+dfsg-0ubuntu0.16.04.2
- 0.99.2+dfsg-0ubuntu0.16.04.3
- 0.99.3+addedllvm-0ubuntu0.16.04.1
- 0.99.4+addedllvm-0ubuntu0.16.04.1
- 0.100.1+dfsg-1ubuntu0.16.04.1
- 0.100.1+dfsg-1ubuntu0.16.04.2
- 0.100.1+dfsg-1ubuntu0.16.04.3
- 0.100.2+dfsg-1ubuntu0.16.04.1
- 0.100.3+dfsg-0ubuntu0.16.04.1
- 0.101.4+dfsg-0ubuntu0.16.04.1
- 0.102.1+dfsg-0ubuntu0.16.04.2
- 0.102.2+dfsg-0ubuntu0.16.04.1
- 0.102.3+dfsg-0ubuntu0.16.04.1
- 0.102.4+dfsg-0ubuntu0.16.04.1
- 0.103.2+dfsg-0ubuntu0.16.04.1
- 0.103.2+dfsg-0ubuntu0.16.04.1+esm1
- 0.103.5+dfsg-0ubuntu0.16.04.1+esm1
- 0.103.6+dfsg-0ubuntu0.16.04.1+esm1
- 0.103.8+dfsg-0ubuntu0.16.04.1+esm1
- 0.103.9+dfsg-0ubuntu0.16.04.1+esm1
- Affected ranges
- ECOSYSTEM: < 0.103.12+dfsg-0ubuntu0.16.04.1+esm1
Update to 0.103.12+dfsg-0ubuntu0.16.04.1+esm1
clamav Ubuntu:Pro:18.04:LTS
- Versions
- 0.99.2+dfsg-6ubuntu2
- 0.99.3~beta1+dfsg-2ubuntu1
- 0.99.3~beta1+dfsg-2ubuntu2
- 0.99.3+addedllvm-0ubuntu1
- 0.99.3+addedllvm-0ubuntu2
- 0.99.4+addedllvm-0ubuntu1
- 0.100.1+dfsg-1ubuntu0.18.04.1
- 0.100.1+dfsg-1ubuntu0.18.04.2
- 0.100.1+dfsg-1ubuntu0.18.04.3
- 0.100.2+dfsg-1ubuntu0.18.04.1
- 0.100.3+dfsg-0ubuntu0.18.04.1
- 0.101.4+dfsg-0ubuntu0.18.04.1
- 0.102.1+dfsg-0ubuntu0.18.04.2
- 0.102.2+dfsg-0ubuntu0.18.04.1
- 0.102.3+dfsg-0ubuntu0.18.04.1
- 0.102.4+dfsg-0ubuntu0.18.04.1
- 0.103.2+dfsg-0ubuntu0.18.04.1
- 0.103.2+dfsg-0ubuntu0.18.04.2
- 0.103.2+dfsg-0ubuntu0.18.04.3
- 0.103.5+dfsg-0ubuntu0.18.04.1
- 0.103.6+dfsg-0ubuntu0.18.04.1
- 0.103.8+dfsg-0ubuntu0.18.04.1
- 0.103.9+dfsg-0ubuntu0.18.04.1+esm1
- Affected ranges
- ECOSYSTEM: < 0.103.12+dfsg-0ubuntu0.18.04.1+esm1
Update to 0.103.12+dfsg-0ubuntu0.18.04.1+esm1
clamav Ubuntu:20.04:LTS
- Versions
- 0.101.4+dfsg-1ubuntu1
- 0.102.1+dfsg-1ubuntu1
- 0.102.1+dfsg-2ubuntu1
- 0.102.1+dfsg-2ubuntu2
- 0.102.2+dfsg-1ubuntu1
- 0.102.2+dfsg-2ubuntu1
- 0.102.3+dfsg-0ubuntu0.20.04.1
- 0.102.4+dfsg-0ubuntu0.20.04.1
- 0.103.2+dfsg-0ubuntu0.20.04.1
- 0.103.2+dfsg-0ubuntu0.20.04.2
- 0.103.5+dfsg-1~20.04.1
- 0.103.6+dfsg-0ubuntu0.20.04.1
- 0.103.8+dfsg-0ubuntu0.20.04.1
- 0.103.9+dfsg-0ubuntu0.20.04.1
- 0.103.11+dfsg-0ubuntu0.20.04.1
- Affected ranges
- ECOSYSTEM: < 0.103.12+dfsg-0ubuntu0.20.04.1
Update to 0.103.12+dfsg-0ubuntu0.20.04.1
clamav Ubuntu:22.04:LTS
- Versions
- 0.103.3+dfsg-1
- 0.103.4+dfsg-1
- 0.103.4+dfsg-1build1
- 0.103.5+dfsg-1
- 0.103.6+dfsg-0ubuntu0.22.04.1
- 0.103.8+dfsg-0ubuntu0.22.04.1
- 0.103.9+dfsg-0ubuntu0.22.04.1
- 0.103.11+dfsg-0ubuntu0.22.04.1
- Affected ranges
- ECOSYSTEM: < 0.103.12+dfsg-0ubuntu0.22.04.1
Update to 0.103.12+dfsg-0ubuntu0.22.04.1
clamav Ubuntu:24.04:LTS
- Versions
- 1.0.2+dfsg-1ubuntu1
- 1.0.3+dfsg-2ubuntu1
- 1.0.4+dfsg-0ubuntu1
- 1.0.5+dfsg-1ubuntu1
- 1.0.5+dfsg-1.1ubuntu2
- 1.0.5+dfsg-1.1ubuntu3
- Affected ranges
- ECOSYSTEM: < 1.0.7+dfsg-0ubuntu0.24.04.1
Update to 1.0.7+dfsg-0ubuntu0.24.04.1