GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Mon Jul 25, 2005 9:03 pm Post subject: [ GLSA 200507-21 ] fetchmail: Buffer Overflow |
|
|
Gentoo Linux Security Advisory
Title: fetchmail: Buffer Overflow (GLSA 200507-21)
Severity: normal
Exploitable: remote
Date: July 25, 2005
Bug(s): #99865
ID: 200507-21
Synopsis
fetchmail is susceptible to a buffer overflow resulting in a Denial of Service or arbitrary code execution.
Background
fetchmail is a utility that retrieves and forwards mail from remote systems using IMAP, POP, and other protocols.
Affected Packages
Package: net-mail/fetchmail
Vulnerable: < 6.2.5.2
Unaffected: >= 6.2.5.2
Architectures: All supported architectures
Description
fetchmail does not properly validate UIDs coming from a POP3 mail server. The UID is placed in a fixed length buffer on the stack, which can be overflown.
Impact
Very long UIDs returned from a malicious or compromised POP3 server can cause fetchmail to crash, resulting in a Denial of Service, or allow arbitrary code to be placed on the stack.
Workaround
There are no known workarounds at this time.
Resolution
All fetchmail users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=net-mail/fetchmail-6.2.5.2" |
References
Fetchmail Security Advisory
CAN-2005-2335
Last edited by GLSA on Sun May 07, 2006 4:58 pm; edited 1 time in total |
|