GLSA-200703-03 : ClamAV: Denial of Service

Medium Nessus Plugin ID 24751


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-200703-03 (ClamAV: Denial of Service)

An anonymous researcher discovered a file descriptor leak error in the processing of CAB archives and a lack of validation of the 'id' parameter string used to create local files when parsing MIME headers.
Impact :

A remote attacker can send several crafted CAB archives with a zero-length record header that will fill the available file descriptors until no other is available, which will prevent ClamAV from scanning most archives. An attacker can also send an email with specially crafted MIME headers to overwrite local files with the permissions of the user running ClamAV, such as the virus database file, which could prevent ClamAV from detecting any virus.
Workaround :

The first vulnerability can be prevented by refusing any file of type CAB, but there is no known workaround for the second issue.


All ClamAV users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-antivirus/clamav-0.90'

See Also

Plugin Details

Severity: Medium

ID: 24751

File Name: gentoo_GLSA-200703-03.nasl

Version: $Revision: 1.12 $

Type: local

Published: 2007/03/02

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.4

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:clamav, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2007/03/02

Vulnerability Publication Date: 2007/02/15

Reference Information

CVE: CVE-2007-0897, CVE-2007-0898

OSVDB: 32282, 32283

GLSA: 200703-03

CWE: 22