ALAS-2024-737


Amazon Linux 2023 Security Advisory: ALAS-2024-737
Advisory Release Date: 2024-10-10 03:02 Pacific
Advisory Updated Date: 2024-10-14 16:00 Pacific
Severity: Medium

Issue Overview:

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


Issue Correction:
Run dnf update clamav --releasever 2023.6.20241010 to update your system.

New Packages:
aarch64:
    clamav-lib-debuginfo-0.103.12-1.amzn2023.0.1.aarch64
    clamav-update-0.103.12-1.amzn2023.0.1.aarch64
    clamd-debuginfo-0.103.12-1.amzn2023.0.1.aarch64
    clamav-debuginfo-0.103.12-1.amzn2023.0.1.aarch64
    clamd-0.103.12-1.amzn2023.0.1.aarch64
    clamav-debugsource-0.103.12-1.amzn2023.0.1.aarch64
    clamav-milter-debuginfo-0.103.12-1.amzn2023.0.1.aarch64
    clamav-lib-0.103.12-1.amzn2023.0.1.aarch64
    clamav-update-debuginfo-0.103.12-1.amzn2023.0.1.aarch64
    clamav-0.103.12-1.amzn2023.0.1.aarch64
    clamav-devel-0.103.12-1.amzn2023.0.1.aarch64
    clamav-milter-0.103.12-1.amzn2023.0.1.aarch64

noarch:
    clamav-data-0.103.12-1.amzn2023.0.1.noarch
    clamav-filesystem-0.103.12-1.amzn2023.0.1.noarch
    clamav-doc-0.103.12-1.amzn2023.0.1.noarch

src:
    clamav-0.103.12-1.amzn2023.0.1.src

x86_64:
    clamav-milter-0.103.12-1.amzn2023.0.1.x86_64
    clamav-lib-0.103.12-1.amzn2023.0.1.x86_64
    clamav-update-debuginfo-0.103.12-1.amzn2023.0.1.x86_64
    clamav-devel-0.103.12-1.amzn2023.0.1.x86_64
    clamav-debuginfo-0.103.12-1.amzn2023.0.1.x86_64
    clamav-milter-debuginfo-0.103.12-1.amzn2023.0.1.x86_64
    clamav-update-0.103.12-1.amzn2023.0.1.x86_64
    clamd-debuginfo-0.103.12-1.amzn2023.0.1.x86_64
    clamav-lib-debuginfo-0.103.12-1.amzn2023.0.1.x86_64
    clamd-0.103.12-1.amzn2023.0.1.x86_64
    clamav-0.103.12-1.amzn2023.0.1.x86_64
    clamav-debugsource-0.103.12-1.amzn2023.0.1.x86_64