Debian: dietlibc buffer overflow vulnerability
Posted by Team   
Debian There is an integer overflow in the xdrmem_getbytes() function of glibc, that is also present in dietlibc.

- --------------------------------------------------------------------------
Debian Security Advisory DSA 272-1                                        Martin Schulze
March 28th, 2003               
- --------------------------------------------------------------------------

Package        : dietlibc
Vulnerability  : integer overflow
Problem-Type   : remote
Debian-specific: no
CVE Id         : CAN-2003-0028
CERT advisory  : VU#516825 CA-2003-10

eEye Digital Security discovered an integer overflow in the
xdrmem_getbytes() function of glibc, that is also present in dietlibc,
a small libc useful especially for small and embedded systems.  This
function is part of the XDR encoder/decoder derived from Sun's RPC
implementation.  Depending upon the application, this vulnerability
can cause buffer overflows and could possibly be exploited to execute
arbitray code.

For the stable distribution (woody) this problem has been
fixed in version 0.12-2.5.

The old stable distribution (potato) does not contain dietlibc

For the unstable distribution (sid) this problem has been
fixed in version 0.22-2.

We recommend that you upgrade your dietlibc 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 3.0 alias woody
- --------------------------------

  Source archives:
      Size/MD5 checksum:      581 2b472a6986de2fe5e3561d7932ccb5bc
      Size/MD5 checksum:     9040 e49f1c3c007033258fcc8d171f3c42f6
      Size/MD5 checksum:   415823 1b9019cc4e717470603d2716a602ec51

  Architecture independent components:
      Size/MD5 checksum:    19032 2289d430c97d33c0a12a5eeff11fd945

  Alpha architecture:
      Size/MD5 checksum:   264314 279ee6b13535b8500877abf35cd616f4

  ARM architecture:
      Size/MD5 checksum:   239226 59571adaf2d6981176f87d256d633e6e

  Intel IA-32 architecture:
      Size/MD5 checksum:   230736 d6766661ce15e7d0bb981dd4283af35c

  Big endian MIPS architecture:
      Size/MD5 checksum:   252976 3c99fd2d77addfb7a67fc60e9a6018d6

  Little endian MIPS architecture:
      Size/MD5 checksum:   251836 0e41a80c3ba91df8c6e3c79de5461953

  PowerPC architecture:
      Size/MD5 checksum:   246132 b519307b907470bea80fcfc7176473a5

  Sun Sparc architecture:
      Size/MD5 checksum:   239174 cecf12ea63e4c51684c4dea394a5f8ed

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

- ---------------------------------------------------------------------------------
For apt-get: deb stable/updates main
For dpkg-ftp: dists/stable/updates/main
Mailing list:
Package info: `apt-cache show ' and