Users login

Create an account »


Users login

Home » Hacking News » [OpenPKG-SA-2002.016] OpenPKG Security Advisory (fetchmail)

[OpenPKG-SA-2002.016] OpenPKG Security Advisory (fetchmail)

by Nikola Strahija on December 17th, 2002 The e-matters security team has reaudited Fetchmail and discovered a remote vulnerability [1] within the default install.

OpenPKG Security Advisory The OpenPKG Project
[email protected] [email protected]
OpenPKG-SA-2002.016 17-Dec-2002

Package: fetchmail
Vulnerability: crashing or remote command execution
OpenPKG Specific: no

Dependent Packages: none

Affected Releases: Affected Packages: Corrected Packages:
OpenPKG 1.0 <= fetchmail-5.9.5-1.0.0 >= fetchmail-5.9.5-1.0.1
OpenPKG 1.1 <= fetchmail-5.9.13-1.1.0 >= fetchmail-5.9.13-1.1.1
OpenPKG CURRENT <= fetchmail-6.1.3-20021128 >= fetchmail-6.2.0-20021213

The e-matters security team has reaudited Fetchmail and discovered a
remote vulnerability [1] within the default install. Headers are
searched for local addresses to append a @ and the hostname of the
mailserver. The sizing of the buffer to store the modified addresses
is too short by one character per address. This vulnerability allows
crashing or remote code execution. Depending on the confiuration this
can lead to a remote root compromise.

Check whether you are affected by running "/bin/rpm -q fetchmail".
If you have an affected version of the fetchmail package (see above),
please upgrade it according to the solution below.

Update existing packages to newly patched versions of fetchmail. Select the
updated source RPM appropriate for your OpenPKG release [2][3][4], and
fetch it from the OpenPKG FTP service or a mirror location. Verify its
integrity [5], build a corresponding binary RPM from it and update your
OpenPKG installation by applying the binary RPM [6]. For the latest
OpenPKG 1.1 release, perform the following operations to permanently fix
the security problem (for other releases adjust accordingly).

$ ftp
ftp> bin
ftp> cd release/1.1/UPD
ftp> get fetchmail-5.9.13-1.1.1.src.rpm
ftp> bye
$ /bin/rpm -v --checksig fetchmail-5.9.13-1.1.1.src.rpm
$ /bin/rpm --rebuild fetchmail-5.9.13-1.1.1.src.rpm
$ su -
# /bin/rpm -Fvh /RPM/PKG/fetchmail-5.9.13-1.1.1.*.rpm


For security reasons, this advisory was digitally signed with
the OpenPGP public key "OpenPKG " (ID 63C4CB9F)
of the OpenPKG project which you can find under the official URL or on To
check the integrity of this advisory, verify its digital signature by
using GnuPG ( For example, pipe this message to
the command "gpg --verify --keyserver".

Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.


Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »