Amazon Linux 2 : clamav (ALAS-2024-2644)

medium Nessus Plugin ID 208113

Synopsis

The remote Amazon Linux 2 host is missing a security update.

Description

The version of clamav installed on the remote host is prior to 0.103.12-1. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2-2024-2644 advisory.

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)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update clamav' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2024-2644.html

https://alas.aws.amazon.com/cve/html/CVE-2024-20505.html

https://alas.aws.amazon.com/cve/html/CVE-2024-20506.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: Medium

ID: 208113

File Name: al2_ALAS-2024-2644.nasl

Version: 1.2

Type: local

Agent: unix

Published: 10/3/2024

Updated: 12/11/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Medium

Base Score: 5.2

Temporal Score: 3.8

Vector: CVSS2#AV:L/AC:L/Au:S/C:N/I:P/A:C

CVSS Score Source: CVE-2024-20506

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:clamav-milter, p-cpe:/a:amazon:linux:clamav-lib, p-cpe:/a:amazon:linux:clamav-doc, p-cpe:/a:amazon:linux:clamav-devel, p-cpe:/a:amazon:linux:clamav-update, p-cpe:/a:amazon:linux:clamav, p-cpe:/a:amazon:linux:clamav-data, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:clamav-debuginfo, p-cpe:/a:amazon:linux:clamd, p-cpe:/a:amazon:linux:clamav-filesystem

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 9/25/2024

Vulnerability Publication Date: 9/4/2024

Reference Information

CVE: CVE-2024-20505, CVE-2024-20506

IAVB: 2024-B-0134