ClamAV < 0.103.8 / 0.104.x < 0.105.2 / 1.0.x < 1.0.1 RCE

critical Nessus Plugin ID 177449

Synopsis

The antivirus running on the remote host is affected by a remote code execution vulnerability.

Description

The version of ClamAV installed on the remote host is prior to 0.103.8, 0.104.x prior to 0.105.2 or 1.0.x prior to 1.0.1. It is, therefore, affected by a remote code execution vulnerability in the HFS+ partition file parser of the ClamAV scanning library. An unauthenticated, remote attacker could exploit this vulnerability by submitting a crafted HFS+ partition file to be scanned by ClamAV on an affected device. Successful exploitation could allow the attacker to execute arbitrary code with the privileges of the ClamAV scanning process, or else crash the process, resulting in a denial of service (DoS) condition.

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

Solution

Upgrade to ClamAV version 0.103.8, 0.105.2, 1.0.1 or later.

See Also

https://nvd.nist.gov/vuln/detail/CVE-2023-20032

https://blog.clamav.net/2023/02/clamav-01038-01052-and-101-patch.html

Plugin Details

Severity: Critical

ID: 177449

File Name: clamav_CVE-2023-20032.nasl

Version: 1.1

Type: combined

Family: Misc.

Published: 6/20/2023

Updated: 6/20/2023

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2023-20032

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

Vulnerability Information

CPE: cpe:/a:clamav:clamav

Required KB Items: installed_sw/ClamAV

Exploit Ease: No known exploits are available

Patch Publication Date: 2/15/2023

Vulnerability Publication Date: 2/15/2023

Reference Information

CVE: CVE-2023-20032