Distro advisory · Debian 3.1
fetchmail - buffer overflow
Description
Vulnerability : buffer overflow Problem-Type : remote Debian-specific: no CVE ID : CAN-2005-2335 CERT advisory : BugTraq ID : 14349 Debian Bug : 212762
Edward Shornock discovered a bug in the UIDL handling code of fetchmail, a common POP3, APOP and IMAP mail fetching utility. A malicious POP3 server could exploit this problem and inject arbitrary code that will be executed on the victim host. If fetchmail is running as root, this becomes a root exploit.
the old stable distribution (woody) is not affected by this problem.
Manual fix · Debian 3.1
sudo apt-get updatesudo apt-get install --only-upgrade fetchmaildpkg -s fetchmail | grep VersionSources