GLSA-200507-21 : fetchmail: Buffer Overflow

Medium Nessus Plugin ID 19323


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


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.


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

See Also

Plugin Details

Severity: Medium

ID: 19323

File Name: gentoo_GLSA-200507-21.nasl

Version: $Revision: 1.13 $

Type: local

Published: 2005/07/31

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 5

Temporal Score: 4.3

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:fetchmail, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2005/07/25

Vulnerability Publication Date: 2005/07/20

Reference Information

CVE: CVE-2005-2335

BID: 14349

OSVDB: 18174

GLSA: 200507-21