Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


More on LinuxToday


Debian GNU/Linux Advisory: dietlibc

Aug 08, 2002, 20:12 (0 Talkback[s])

- --------------------------------------------------------------------------
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:

    http://security.debian.org/pool/updates/main/d/dietlibc/dietlibc_0.12-2.4.dsc
      Size/MD5 checksum:      581 5b35d65f52bad60c25ed4fc38171a13a
    http://security.debian.org/pool/updates/main/d/dietlibc/dietlibc_0.12-2.4.diff.gz
      Size/MD5 checksum:     7943 dc4943d8ad22321ce57a2c8109e16eee
    http://security.debian.org/pool/updates/main/d/dietlibc/dietlibc_0.12.orig.tar.gz
      Size/MD5 checksum:   415823 1b9019cc4e717470603d2716a602ec51

  Architecture independent components:

    http://security.debian.org/pool/updates/main/d/dietlibc/dietlibc-doc_0.12-2.4_all.deb
      Size/MD5 checksum:    18956 8677ee59b39720edb9860bed12926ac7

  Alpha architecture:

    http://security.debian.org/pool/updates/main/d/dietlibc/dietlibc-dev_0.12-2.4_alpha.deb
      Size/MD5 checksum:   264232 be91b0b9c13396a26c29b44d8aee4cc7

  ARM architecture:

    http://security.debian.org/pool/updates/main/d/dietlibc/dietlibc-dev_0.12-2.4_arm.deb
      Size/MD5 checksum:   239160 3e1b0b54441a9d05d4b4f18f7bed5daf

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/d/dietlibc/dietlibc-dev_0.12-2.4_i386.deb
      Size/MD5 checksum:   230704 705f8d03822326256e8e11e4b49b4398

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/d/dietlibc/dietlibc-dev_0.12-2.4_mips.deb
      Size/MD5 checksum:   252890 d962f7770928ba2acef49da1bd085850

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/d/dietlibc/dietlibc-dev_0.12-2.4_mipsel.deb
      Size/MD5 checksum:   251724 d85e74c9bbf7355d68d776fdc3cecf9e

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/d/dietlibc/dietlibc-dev_0.12-2.4_powerpc.deb
      Size/MD5 checksum:   246014 969782849549a59b0cc746bdb1482b5f

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/d/dietlibc/dietlibc-dev_0.12-2.4_sparc.deb
      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>;