ClamAV < 0.97.2 'cli_hm_scan' Denial of Service

medium Nessus Plugin ID 55905

Synopsis

The remote antivirus service is affected by a denial of service vulnerability.

Description

According to its version, the ClamAV clamd antivirus daemon on the remote host is earlier than 0.97.2. As such, it is potentially affected by a denial of service vulnerability.

An off-by-one error exists in the 'cli_hm_scan' function in the file 'libclamav/matcher-hash.c' that can be exploited by a specially crafted message causing the clamd daemon to crash.

Solution

Upgrade to ClamAV 0.97.2 or later.

See Also

https://blog.clamav.net/2011/07/clamav-0972-is-now-available.html

https://github.com/vrtadmin/clamav-devel/blob/master/ChangeLog

https://bugzilla.clamav.net/show_bug.cgi?id=2818

Plugin Details

Severity: Medium

ID: 55905

File Name: clamav_0_97_2.nasl

Version: 1.10

Type: remote

Family: Misc.

Published: 8/19/2011

Updated: 11/15/2018

Configuration: Enable paranoid mode

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

Vulnerability Information

CPE: cpe:/a:clamav:clamav

Required KB Items: Antivirus/ClamAV/version, Settings/ParanoidReport

Exploit Ease: No known exploits are available

Patch Publication Date: 7/25/2011

Vulnerability Publication Date: 7/26/2011

Reference Information

CVE: CVE-2011-2721

BID: 48891

Secunia: 45382