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.15

Type: local

Published: 2005/07/31

Updated: 2019/08/02

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 5

Temporal Score: 3.7

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

Temporal Vector: CVSS2#E:U/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: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2005/07/25

Vulnerability Publication Date: 2005/07/20

Reference Information

CVE: CVE-2005-2335

BID: 14349

GLSA: 200507-21