Amazon Linux 2 Security Advisory: ALAS-2024-2644
Advisory Release Date: 2024-09-25 22:07 Pacific
Advisory Updated Date: 2024-10-02 14:30 Pacific
A vulnerability in the PDF parsing 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 unauthenticated, remote attacker to cause a denial of service (DoS) condition on an affected device.
The vulnerability is due to an out of bounds read. An attacker could exploit this vulnerability by submitting a crafted PDF file to be scanned by ClamAV on an affected device. An exploit could allow the attacker to terminate the scanning process. (CVE-2024-20505)
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. (CVE-2024-20506)
Affected Packages:
clamav
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update clamav to update your system.
aarch64:
clamav-0.103.12-1.amzn2.0.1.aarch64
clamav-lib-0.103.12-1.amzn2.0.1.aarch64
clamav-devel-0.103.12-1.amzn2.0.1.aarch64
clamav-update-0.103.12-1.amzn2.0.1.aarch64
clamd-0.103.12-1.amzn2.0.1.aarch64
clamav-milter-0.103.12-1.amzn2.0.1.aarch64
clamav-debuginfo-0.103.12-1.amzn2.0.1.aarch64
i686:
clamav-0.103.12-1.amzn2.0.1.i686
clamav-lib-0.103.12-1.amzn2.0.1.i686
clamav-devel-0.103.12-1.amzn2.0.1.i686
clamav-update-0.103.12-1.amzn2.0.1.i686
clamd-0.103.12-1.amzn2.0.1.i686
clamav-milter-0.103.12-1.amzn2.0.1.i686
clamav-debuginfo-0.103.12-1.amzn2.0.1.i686
noarch:
clamav-filesystem-0.103.12-1.amzn2.0.1.noarch
clamav-data-0.103.12-1.amzn2.0.1.noarch
clamav-doc-0.103.12-1.amzn2.0.1.noarch
src:
clamav-0.103.12-1.amzn2.0.1.src
x86_64:
clamav-0.103.12-1.amzn2.0.1.x86_64
clamav-lib-0.103.12-1.amzn2.0.1.x86_64
clamav-devel-0.103.12-1.amzn2.0.1.x86_64
clamav-update-0.103.12-1.amzn2.0.1.x86_64
clamd-0.103.12-1.amzn2.0.1.x86_64
clamav-milter-0.103.12-1.amzn2.0.1.x86_64
clamav-debuginfo-0.103.12-1.amzn2.0.1.x86_64