OpenPKG Information for VU#897604
Sendmail address parsing buffer overflow
- Vendor Information Help Date Notified:
- Statement Date:
- Date Updated: 01 Apr 2003
-----BEGIN PGP SIGNED MESSAGE-----
OpenPKG Security Advisory The OpenPKG Project
Vulnerability: remote root exploit
OpenPKG Specific: no
Affected Releases: Affected Packages: Corrected Packages:
OpenPKG CURRENT <= sendmail-8.12.8-20030328 >= sendmail-8.12.9-20030329
OpenPKG 1.2 <= sendmail-8.12.7-1.2.1 >= sendmail-8.12.7-1.2.2
OpenPKG 1.1 none N.A.
Dependent Packages: none
Michal Zalewski discovered  a confirmed  buffer overflow
vulnerability in all version of the Sendmail  MTA earlier than
8.12.9. The mail address parser performs insufficient bounds checking
in certain conditions due to a "char" to "int" data type conversion,
making it possible for an attacker to take control of the application.
Attackers may remotely exploit this vulnerability to gain "root"
access of any vulnerable Sendmail server. The Common Vulnerabilities
and Exposures (CVE) project assigned the id CAN-2003-0161  to the
Please check whether you are affected by running "<prefix>/bin/rpm
-q sendmail". If you have the "sendmail" package installed and its
version is affected (see above), we recommend that you immediately
upgrade it (see Solution). 
Select the updated source RPM appropriate for your OpenPKG release
, fetch it from the OpenPKG FTP service  or a mirror location,
verify its integrity , build a corresponding binary RPM from it 
and update your OpenPKG installation by applying the binary RPM .
For the current release OpenPKG 1.2, perform the following operations
to permanently fix the security problem (for other releases adjust
$ ftp ftp.openpkg.org
ftp> cd release/1.2/UPD
ftp> get sendmail-8.12.7-1.2.2.src.rpm
$ <prefix>/bin/rpm -v --checksig sendmail-8.12.7-1.2.2.src.rpm
$ <prefix>/bin/rpm --rebuild sendmail-8.12.7-1.2.2.src.rpm
$ su -
# <prefix>/bin/rpm -Fvh <prefix>/RPM/PKG/sendmail-8.12.7-1.2.2.*.rpm
For security reasons, this advisory was digitally signed with the
OpenPGP public key "OpenPKG <email@example.com>" (ID 63C4CB9F) of the
OpenPKG project which you can retrieve from http://pgp.openpkg.org and
hkp://pgp.openpkg.org. Follow the instructions on http://pgp.openpkg.org/
for details on how to verify the integrity of this advisory.
-----BEGIN PGP SIGNATURE-----
Comment: OpenPKG <firstname.lastname@example.org>
-----END PGP SIGNATURE-----
The vendor has not provided us with any further information regarding this vulnerability.
The CERT/CC has no additional comments at this time.
If you have feedback, comments, or additional information about this vulnerability, please send us email.