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