📄 bogofilter-sa-2005-01
字号:
bogofilter-SA-2005-01Topic: heap buffer overrun in bogofilter/bogolexer 0.93.5 - 0.96.2Announcement: bogofilter-SA-2005-01Writer: Matthias AndreeVersion: 1.00CVE ID: CVE-2005-4591Announced: 2006-01-02Category: vulnerabilityType: buffer overrun through malformed inputImpact: heap corruption, application crashCredits: David Relson, Clint AdamsDanger: mediumURL: http://bogofilter.sourceforge.net/security/bogofilter-SA-2005-01Affected: bogofilter 0.96.2 bogofilter 0.95.2 bogofilter 0.94.14 bogofilter 0.94.12 all "current" versions from 0.93.5 to 0.96.2 inclusively CVS between 2005-01-09T17:32Z and 2005-10-22T00:51Z CVS between 2005-12-31T10:22Z and 2005-12-31T12:45ZNot affected: bogofilter 0.96.3 "current" (released 2005-10-26) bogofilter 0.96.6 (released 2005-11-19) bogofilter 1.0.0 (released 2005-12-01) bogofilter 1.0.1 (released 2006-01-01)1. Background=============Bogofilter is a software package for classifying a message as spam ornon-spam. It uses a data base to store words and must be trainedwhich messages are spam and non-spam. It uses the probabilities ofindividual words for classifying the message.Note that the bogofilter project is issuing security announcements onlyfor current "stable" releases, and not necessarily for past "stable"releases.2. Problem description======================When using Unicode databases (default in more recent bogofilterinstallations), upon encountering invalid input sequences, bogofilter orbogolexer could overrun a malloc()'d buffer, corrupting the heap, whileconverting character sets. Bogofilter would usually be processinguntrusted data received from the network at that time.This problem was aggravated by an unrelated bug that made bogofilterprocess binary attachments as though they were text, and attempt charsetconversion on them. Given the MIME default character set, US-ASCII, allinput octets in the range 0x80...0xff were considered invalid inputsequences and could trigger the heap corruption.The faulty code was first released with bogofilter "current" 0.93.5,initially under the aegis of "./configure --enable-iconv", which waslater renamed "--enable-unicode" and enabled by default.3. Impact=========Vulnerable bogofilter and bogolexer applications corrupt their heap andcrash. The consequences are dependent on the local configuration whichis up to the user; in common configurations, messages would be placedback in the mail queue and ultimately be returned to the sender when themail queue lifetime expired, or they might be processed as thoughbogofilter had classified them as "ham".The bogofilter maintainers are not aware of exploits against thisvulnerability in the wild.4. Solution===========Upgrade your bogofilter to version 1.0.1 (or a newer release).bogofilter is available from SourceForge:<https://sourceforge.net/project/showfiles.php?group_id=62265>A. Copyright, License and Warranty==================================(C) Copyright 2005 - 2006 by Matthias Andree, <matthias.andree@gmx.de>.Some rights reserved.This work is licensed under the Creative CommonsAttribution-NonCommercial-NoDerivs German License. To view a copy ofthis license, visit http://creativecommons.org/licenses/by-nc-nd/2.0/de/or send a letter to Creative Commons; 559 Nathan Abbott Way;Stanford, California 94305; USA.THIS WORK IS PROVIDED FREE OF CHARGE AND WITHOUT ANY WARRANTIES.Use the information herein at your own risk.END of bogofilter-SA-2005-01
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -