[SECURITY] [DSA 146-2] New dietlibc packages fix integer overflows

Type debian
Reporter Debian
Modified 2002-08-08T19:08:58


Debian Security Advisory DSA 146-2 security@debian.org http://www.debian.org/security/ Martin Schulze August 8th, 2002

Package : dietlibc Vulnerability : integer overflow Problem-Type : remote Debian-specific: no CVE Id : CAN-2002-0391 CERT advisory : VU#192995

The upstream author of dietlibc, Felix von Leitner, discovered a potential division by zero chance in the fwrite and calloc integer overflow checks, which are fixed in the version below.

The new version includes fixes from DSA 146-1. For completness we enclose the text of the other advisory:

An integer overflow bug has been discovered in the RPC library
used by dietlibc, a libc optimized for small size, which is
derived from the SunRPC library.  This bug could be exploited to
gain unauthorized root access to software linking to this code.
The packages below also fix integer overflows in the calloc, fread
and fwrite code.  They are also more strict regarding hostile DNS
packets that could lead to a vulnerability otherwise.

This problem has been fixed in version 0.12-2.4 for the current stable distribution (woody) and in version 0.20-0cvs20020808 for the unstable distribution (sid). Debian 2.2 (potato) is not affected since it doesn't contain dietlibc packages.

We recommend that you upgrade your dietlibc packages immediately.

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 3.0 alias woody

The dietlibc packages are only available for the following architectures: alpha arm i386 mips mipsel powerpc sparc

Source archives:

  Size/MD5 checksum:      581 5b35d65f52bad60c25ed4fc38171a13a
  Size/MD5 checksum:     7943 dc4943d8ad22321ce57a2c8109e16eee
  Size/MD5 checksum:   415823 1b9019cc4e717470603d2716a602ec51

Architecture independent components:

  Size/MD5 checksum:    18956 8677ee59b39720edb9860bed12926ac7

Alpha architecture:

  Size/MD5 checksum:   264232 be91b0b9c13396a26c29b44d8aee4cc7

ARM architecture:

  Size/MD5 checksum:   239160 3e1b0b54441a9d05d4b4f18f7bed5daf

Intel IA-32 architecture:

  Size/MD5 checksum:   230704 705f8d03822326256e8e11e4b49b4398

Big endian MIPS architecture:

  Size/MD5 checksum:   252890 d962f7770928ba2acef49da1bd085850

Little endian MIPS architecture:

  Size/MD5 checksum:   251724 d85e74c9bbf7355d68d776fdc3cecf9e

PowerPC architecture:

  Size/MD5 checksum:   246014 969782849549a59b0cc746bdb1482b5f

Sun Sparc architecture:

  Size/MD5 checksum:   239082 5d2e235422c3fa8a8b8621997ae685e3

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 <pkg>' and http://packages.debian.org/<pkg>