copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Training
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2003.0024 -- Debian Security Advisory DSA 228-1 -- New libmcrypt packages fix buffer overflows and memory leak

Date: 15 January 2003

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----

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

            ESB-2003.0024 -- Debian Security Advisory DSA 228-1
        New libmcrypt packages fix buffer overflows and memory leak
                              15 January 2003

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

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

Product:                libmcrypt
Vendor:                 Debian
Operating System:       Debian GNU/Linux 3.0
Impact:                 Execute Arbitrary Code/Commands
                        Denial of Service
Access Required:        Remote

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

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

- - --------------------------------------------------------------------------
Debian Security Advisory DSA 228-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
January 14th, 2003                      http://www.debian.org/security/faq
- - --------------------------------------------------------------------------

Package        : libmcrypt
Vulnerability  : buffer overflows and memory leak
Problem-type   : remote
Debian-specific: no
CVE  Id        : CAN-2003-0031 CAN-2003-0032

Ilia Alshanetsky discovered several buffer overflows in libmcrypt, a
decryption and encryption library, that originates in from improper or
lacking input validation.  By passing input which is longer then
expected to a number of functions (multiple functions are affected)
the user can successful make libmcrypt crash and may be able to insert
arbitrary, malicious, code which will be executed under the user
libmcrypt runs as, e.g. inside a web server.

Another vulnerability exists in the way libmcrypt loads algorithms via
libtool.  When different algorithms are loaded dynamically, each time
an algorithm is loaded a small part of memory is leaked.  In a
persistant enviroment (web server) this could lead to a memory
exhaustion attack that will exhaust all avaliable memory by launching
repeated requests at an application utilizing the mcrypt library.

For the current stable distribution (woody) this problem has been
fixed in version 2.5.0-1woody1.

The old stable distribution (potato) does not contain libmcrypt packages.

For the unstable distribution (sid) these problems have been fixed in
version 2.5.5-1.

We recommend that you upgrade your libmcrypt 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:

    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt_2.5.0-1woody1.dsc
      Size/MD5 checksum:      599 d8db647ab3b129e238b9521c6d1eeaec
    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt_2.5.0-1woody1.diff.gz
      Size/MD5 checksum:     3374 fa752fede70fcbe88e690fe084edbe47
    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt_2.5.0.orig.tar.gz
      Size/MD5 checksum:   498937 0d67938f9992f7ebd9906b128e2efd88

  Alpha architecture:

    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt-dev_2.5.0-1woody1_alpha.deb
      Size/MD5 checksum:   510288 1facd4af685e1131ff7806a26a5be349
    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt4_2.5.0-1woody1_alpha.deb
      Size/MD5 checksum:   169358 194c71dc0913bc321164ece862c13d1d

  ARM architecture:

    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt-dev_2.5.0-1woody1_arm.deb
      Size/MD5 checksum:   353544 b2e380c03a7c3400aa8eed3df460de39
    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt4_2.5.0-1woody1_arm.deb
      Size/MD5 checksum:   113614 e09f582ffdbd6194ddc21584574d3f15

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt-dev_2.5.0-1woody1_i386.deb
      Size/MD5 checksum:   300576 940ad919f58bcf5e63aa2ae5d82dfc81
    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt4_2.5.0-1woody1_i386.deb
      Size/MD5 checksum:   109618 f7aca58ac7f137b9c4a5cb30c0aa3348

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt-dev_2.5.0-1woody1_ia64.deb
      Size/MD5 checksum:   365776 e18bdeea760929e2120544f2b264d42e
    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt4_2.5.0-1woody1_ia64.deb
      Size/MD5 checksum:   189900 25875c90c0b2c2019208185c9e30afca

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt-dev_2.5.0-1woody1_hppa.deb
      Size/MD5 checksum:   407922 70dc6f762134a61ad5732812abffad75
    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt4_2.5.0-1woody1_hppa.deb
      Size/MD5 checksum:   132796 c3c6a6e01be6f31c133a1224373a4a7f

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt-dev_2.5.0-1woody1_m68k.deb
      Size/MD5 checksum:   310176 a7a5760c2398060612eb79a80562c8c6
    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt4_2.5.0-1woody1_m68k.deb
      Size/MD5 checksum:   110704 b4a557f582e2af90f85107748e786d43

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt-dev_2.5.0-1woody1_mips.deb
      Size/MD5 checksum:   385604 9761cbfc9ef7328f9820f49f4a2edc38
    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt4_2.5.0-1woody1_mips.deb
      Size/MD5 checksum:   122324 d4c774942019642efa35236a59d425a9

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt-dev_2.5.0-1woody1_mipsel.deb
      Size/MD5 checksum:   366450 3c0dcc1a9b2c5e0b3cddbff75505226e
    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt4_2.5.0-1woody1_mipsel.deb
      Size/MD5 checksum:   120550 24cf66a1951f3a41ab473f09d63babbf

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt-dev_2.5.0-1woody1_powerpc.deb
      Size/MD5 checksum:   380250 45e7571557368b2171947aa1b58e70ee
    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt4_2.5.0-1woody1_powerpc.deb
      Size/MD5 checksum:   116298 be1d6ae14bb2502d89fda6998fa3d987

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt-dev_2.5.0-1woody1_s390.deb
      Size/MD5 checksum:   371686 34cf7bc605ab0b7491032ecaab5b120c
    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt4_2.5.0-1woody1_s390.deb
      Size/MD5 checksum:   120802 bee501cf9ecdab88fbe95bb78f667ded

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt-dev_2.5.0-1woody1_sparc.deb
      Size/MD5 checksum:   376994 ff79d1e9fc1ac1ee836b7293a1132b8e
    http://security.debian.org/pool/updates/main/libm/libmcrypt/libmcrypt4_2.5.0-1woody1_sparc.deb
      Size/MD5 checksum:   138610 620679999223d76bd35f3fca0ee5c954


  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.2.1 (GNU/Linux)

iD8DBQE+JC7MW5ql+IAeqTIRAtA9AJ4ipxAHfWkzPbHNdEE2XmICvnLKggCfe5iO
BlD5l5jeyf2+1k/SjW2uFZI=
=avWC
- -----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 author's website 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/render.html?cid=1980

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: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBPiVDRih9+71yA2DNAQEO6gP8Czo50ViY9eLZzp3AkbR1cPI1CYJQLz/m
Zy5cGe06kvOI1aDOPboiV0gjyOS2l1JPa7yzsHzvXoMg+ck4l0/DEGeA6ZAvIcwo
GOTr+4+/6/kN3DmgFPPJFxQMLc3T/Vq8mA4hzaelut8VGtRf0yU/TJ6wrbAqweaq
amkg6a9Ooj0=
=Iawe
-----END PGP SIGNATURE-----