GLSA Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 12 May 2004 Posts: 2663
|
Posted: Fri Mar 02, 2007 3:26 am Post subject: [ GLSA 200703-03 ] ClamAV: Denial of Service |
|
|
Gentoo Linux Security Advisory
Title: ClamAV: Denial of Service (GLSA 200703-03)
Severity: normal
Exploitable: remote
Date: March 02, 2007
Bug(s): #167201
ID: 200703-03
Synopsis
ClamAV contains two vulnerabilities allowing a Denial of Service.
Background
ClamAV is a GPL virus scanner.
Affected Packages
Package: app-antivirus/clamav
Vulnerable: < 0.90
Unaffected: >= 0.90
Architectures: All supported architectures
Description
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.
Resolution
All ClamAV users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=app-antivirus/clamav-0.90" |
References
CVE-2007-0897
CVE-2007-0898 |
|