Debian: sendmail-wide buffer overflow vulnerability
Posted by LinuxSecurity.com Team   
Debian There is a buffer overflow, triggered by a char to int conversion, in the address parsing code in sendmail.

- --------------------------------------------------------------------------
Debian Security Advisory DSA 290-1                     security@debian.org 
http://www.debian.org/security/                             Martin Schulze
April 17th, 2003                         http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : sendmail-wide
Vulnerability  : char-to-int conversion
Problem-Type   : local, maybe remote
Debian-specific: no
CVE Id         : CAN-2003-0161
CERT advisories: VU#897604 CA-2003-12

Michal Zalewski discovered a buffer overflow, triggered by a char to
int conversion, in the address parsing code in sendmail, a widely used
powerful, efficient, and scalable mail transport agent.  This problem
is potentially remotely exploitable.

For the stable distribution (woody) this problem has been fixed in
version 8.12.3+3.5Wbeta-5.4

For the old stable distribution (potato) this problem has been
fixed in version 8.9.3+3.2W-25

For the unstable distribution (sid) this problem has been
fixed in version 8.12.9+3.5Wbeta-1

We recommend that you upgrade your sendmail-wide packages.


Upgrade Instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 2.2 alias potato
- ---------------------------------

  Source archives:

     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.9.3+3.2W-25.dsc
      Size/MD5 checksum:      541 17dd53835e894bc4213d2555384aff75
     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.9.3+3.2W-25.tar.gz
      Size/MD5 checksum:  1273704 63cd21c58e45810b21601025c164a85e

  Alpha architecture:

     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.9.3+3.2W-25_alpha.deb
      Size/MD5 checksum:   302722 8b36867359dd0267d8664b290899ec6b

  Intel IA-32 architecture:

     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.9.3+3.2W-25_i386.deb
      Size/MD5 checksum:   217690 f98998b9467ce368b11a862dbe5d4e82

  Motorola 680x0 architecture:

     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.9.3+3.2W-25_m68k.deb
      Size/MD5 checksum:   202538 e56cc6579ae7da5693047a7e9ceec33e

  PowerPC architecture:

     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.9.3+3.2W-25_powerpc.deb
      Size/MD5 checksum:   242694 33217654adca1e26bf9e27b4fb96050e

  Sun Sparc architecture:

     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.9.3+3.2W-25_sparc.deb
      Size/MD5 checksum:   236530 32fabe460c63c6fd343d4741104a73f3


Debian GNU/Linux 3.0 alias woody
- --------------------------------

  Source archives:

     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.12.3+3.5Wbeta-5.4.dsc
      Size/MD5 checksum:      738 26af096d7a10d63aec72a0b38982973d
     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.12.3+3.5Wbeta-5.4.diff.gz
      Size/MD5 checksum:   326292 b98e1e9bb74233e1842a0562912b748d
     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.12.3+3.5Wbeta.orig.tar.gz
      Size/MD5 checksum:  1870451 4c7036e8042bae10a90da4a84a717963

  Alpha architecture:

     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.12.3+3.5Wbeta-5.4_alpha.deb
      Size/MD5 checksum:   440622 d2800104eff39be1a94b94d049e77fc1

  ARM architecture:

     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.12.3+3.5Wbeta-5.4_arm.deb
      Size/MD5 checksum:   369412 d63f3107518282fc892835c5251afdcd

  Intel IA-32 architecture:

     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.12.3+3.5Wbeta-5.4_i386.deb
      Size/MD5 checksum:   328794 139dcce3e908b45be6ecd74531279184

  Intel IA-64 architecture:

     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.12.3+3.5Wbeta-5.4_ia64.deb
      Size/MD5 checksum:   574908 7ebf517265802b0abaf41d3eeca27b6d

  HP Precision architecture:

     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.12.3+3.5Wbeta-5.4_hppa.deb
      Size/MD5 checksum:   413604 9f353dbc5f1c3eca9e34da0e34f227c5

  Motorola 680x0 architecture:

     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.12.3+3.5Wbeta-5.4_m68k.deb
      Size/MD5 checksum:   300726 6b9f6f9c143f2ae0d5e3b95c9e74d90e

  Big endian MIPS architecture:

     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.12.3+3.5Wbeta-5.4_mips.deb
      Size/MD5 checksum:   378324 22c8467712e9da461043110a86c23dcc

  Little endian MIPS architecture:

     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.12.3+3.5Wbeta-5.4_mipsel.deb
      Size/MD5 checksum:   380264 ae297336eb7a608f4cdacb3b5cdbf4aa

  PowerPC architecture:

     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.12.3+3.5Wbeta-5.4_powerpc.deb
      Size/MD5 checksum:   362854 522d8c46a0e8e6b6c143e6e7eac502e6

  IBM S/390 architecture:

     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.12.3+3.5Wbeta-5.4_s390.deb
      Size/MD5 checksum:   354776 62f538f78d8d17519c74064473cad1c2

  Sun Sparc architecture:

     http://security.debian.org/pool/updates/main/s/sendmail-wide/sendmail-wide_8.12.3+3.5Wbeta-5.4_sparc.deb
      Size/MD5 checksum:   355964 01de0e06a7bc0fde26b08b7d84e53246


  These files will probably be moved into the stable distribution on
  its next revision.

- ---------------------------------------------------------------------------------
For apt-get: deb  http://security.debian.org/ stable/updates main
For dpkg-ftp:  ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show ' and  http://packages.debian.org/