fetchmail is susceptible to a buffer overflow resulting in a Denial of Service or arbitrary code execution.
|Package||net-mail/fetchmail on all architectures|
|Affected versions||< 184.108.40.206|
|Unaffected versions||>= 220.127.116.11|
fetchmail is a utility that retrieves and forwards mail from remote systems using IMAP, POP, and other protocols.
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.
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.
There are no known workarounds at this time.
All fetchmail users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=net-mail/fetchmail-18.104.22.168"
July 25, 2005
July 25, 2005: 01