Bug 583819 (CVE-2010-1167)

Summary: CVE-2010-1167 fetchmail: denial of service in debug mode with multichar locales
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: jrusnack, mjc, pertusus, vcrhonek
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 12:44:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 590556, 590560    
Bug Blocks:    

Description Vincent Danen 2010-04-19 20:00:17 UTC
A flaw was reported in fetchmail where, when running in debug mode (-v -v), fetchmail prints information that was obtained from the upstream server (via POP3 UIDL list) or from message headers retrieved from it.  If printing such information fails, perhaps due to invalid multibyte character sequences in this information, fetchmail will misinterpret this condition, and believe the buffer was too small.  It will then reallocate a bigger one, with linearly increasing buffer size, and will continue to repeat this until the allocation fails, at which point fetchmail will abort.

This issue has been assigned CVE-2010-1167 and will be upstream fetchmail-SA-2010-02 [1].  A fix has already been committed upstream [2] and will be in the forthcoming 6.3.17 version.

[1] http://www.fetchmail.info/fetchmail-SA-2010-02.txt
[2] http://gitorious.org/fetchmail/fetchmail/commit/ec06293134b85876f9201d8a52b844c41581b2b3

Comment 3 Vincent Danen 2010-05-10 14:40:11 UTC
Statement:

(none)