GLSA-200507-21 : fetchmail: Buffer Overflow

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200507-21
(fetchmail: Buffer Overflow)

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.

See also :

http://fetchmail.berlios.de/fetchmail-SA-2005-01.txt
http://www.gentoo.org/security/en/glsa/glsa-200507-21.xml

Solution :

All fetchmail users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=net-mail/fetchmail-6.2.5.2'

Risk factor :

Medium / CVSS Base Score : 5.0
(CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 19323 (gentoo_GLSA-200507-21.nasl)

Bugtraq ID:

CVE ID: CVE-2005-2335