ClamAV 0.104.x, 0.105.x, 1.0.0 < 1.0.4, 1.1.x, 1.2.0 < 1.2.1 RCE

medium Nessus Plugin ID 190351

Synopsis

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

Description

The ClamAV reported version is 0.104.x, 0.105.x, 1.0.x < 1.0.4, 1.1.x or 1.2.x < 1.2.1. It is, therefore, affected by a vulnerability in the “VirusEvent” feature, where an attacker could manipulate the '%f' format string parameter to inject malicious commands.

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 1.2.2, 1.0.5 or later.

See Also

https://nvd.nist.gov/vuln/detail/CVE-2024-20328

https://blog.clamav.net/2023/11/clamav-130-122-105-released.html

Plugin Details

Severity: Medium

ID: 190351

File Name: clamav_CVE-2024-20328.nasl

Version: 1.2

Type: combined

Family: Misc.

Published: 2/9/2024

Updated: 3/4/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 6.9

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

CVSS Score Source: CVE-2024-20328

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

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

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/7/2024

Vulnerability Publication Date: 2/7/2024

Reference Information

CVE: CVE-2024-20328

IAVB: 2024-B-0008