GLSA-200507-21 : fetchmail: Buffer Overflow

medium Nessus Plugin ID 19323

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.

Solution

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

See Also

http://fetchmail.berlios.de/fetchmail-SA-2005-01.txt

https://security.gentoo.org/glsa/200507-21

Plugin Details

Severity: Medium

ID: 19323

File Name: gentoo_GLSA-200507-21.nasl

Version: 1.16

Type: local

Published: 7/31/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

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 Ease: No known exploits are available

Patch Publication Date: 7/25/2005

Vulnerability Publication Date: 7/20/2005

Reference Information

CVE: CVE-2005-2335

BID: 14349

GLSA: 200507-21