-----BEGIN PGP SIGNED MESSAGE-----

===========================================================================
             AUSCERT External Security Bulletin Redistribution

    ESB-2002.413 -- Debian Security Advisories DSA 146-1 and DSA 146-2
                New dietlibc packages fix integer overflows
                              12 August 2002

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:                dietlibc
Vendor:                 Debian
Operating System:       Debian GNU/Linux 3.0
                        Linux
                        UNIX
Platform:               Alpha
                        ARM
                        i386
                        MIPS
                        PowerPC
                        SPARC
Impact:                 Root Compromise
Access Required:        Remote

Comment: Both Debian Security Advisories are included in this ESB.

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- - --------------------------------------------------------------------------
Debian Security Advisory DSA 146-1                     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

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.

These problems have been fixed in version 0.12-2.2 for the current
stable distribution (woody) and in version 0.20-0cvs20020806 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.2.dsc
      Size/MD5 checksum:      581 15d5d5021f626d40b662b37bf56892e8
    http://security.debian.org/pool/updates/main/d/dietlibc/dietlibc_0.12-2.2.diff.gz
      Size/MD5 checksum:     7815 572e4c0686879b6d042ca79d3aa9acd3
    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.2_all.deb
      Size/MD5 checksum:    18852 5348058e8565523e724fa8a64b5f568c

  Alpha architecture:

    http://security.debian.org/pool/updates/main/d/dietlibc/dietlibc-dev_0.12-2.2_alpha.deb
      Size/MD5 checksum:   264130 7a4bc7087bd34bda37c4e4709e0b52e9

  ARM architecture:

    http://security.debian.org/pool/updates/main/d/dietlibc/dietlibc-dev_0.12-2.2_arm.deb
      Size/MD5 checksum:   239022 99d6743d6d009433fa0754867ae67aa4

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/d/dietlibc/dietlibc-dev_0.12-2.2_i386.deb
      Size/MD5 checksum:   230532 f671532aae3e1d70726ebd9109e7a1a4

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/d/dietlibc/dietlibc-dev_0.12-2.2_mips.deb
      Size/MD5 checksum:   252756 3cad479c099819721d25f78f3ab6038e

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/d/dietlibc/dietlibc-dev_0.12-2.2_mipsel.deb
      Size/MD5 checksum:   251582 75ff00f46d2d83d22cec2a0fdefaa390

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/d/dietlibc/dietlibc-dev_0.12-2.2_powerpc.deb
      Size/MD5 checksum:   245870 7b18af0fc30e37bc7a4d2b4bdd2aead5

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/d/dietlibc/dietlibc-dev_0.12-2.2_sparc.deb
      Size/MD5 checksum:   238992 bc69f78304de16347a4f0d1c7de3728c


  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>

- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9Uj4SW5ql+IAeqTIRAoQLAJ9XFtBq+CW3SUapQjxRJ5Ype8YVaQCdHI6x
sEQHh3kTHdxJ2E4WzUceJD8=
=9ITm
- -----END PGP SIGNATURE-----


- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9UsHJW5ql+IAeqTIRAm+sAJsEMtx7159KO6rsrbXKIOpNo/cCEgCePHzO
wKHMWTub8ysn7sef4HyeahE=
=/lnZ
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content.  The decision to use any or all of this information is
the responsibility of each user or organisation, and should be done so in
accordance with site policies and procedures.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the original authors to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/Information/advisories.html

If you believe that your system has been compromised, contact AusCERT or
your representative in FIRST (Forum of Incident Response and Security
Teams).

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business 
                hours which are GMT+10:00 (AEST).  On call after hours 
                for member emergencies only.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key

iQCVAwUBPVfw3ih9+71yA2DNAQH1hgP/ffkIIRcd8kNGNB35fpDDw1gcbvgCGzAQ
evvoazxmi4LvssfcudAXskOI5yhIpTAhrdzBVMEY53UVvBmjcW5DE+tLUMvt4iJ9
iz5Msrqa4uEvpyUIliiyu5VdD6WPYTqwJIkjUZSRzm+q0dEtCY28pfF4mRClysLB
yUwVXUNERvU=
=j4BM
-----END PGP SIGNATURE-----