Linux Today: Linux News On Internet Time.

Linux-Mandrake Security Update Advisory: cups update

Feb 02, 2001, 01:13 (0 Talkback[s])

Date: Thu, 1 Feb 2001 16:36:18 -0700
From: Linux Mandrake Security Team security@linux-mandrake.com
To: Linux Mandrake Security Announcements security-announce@linux-mandrake.com
Subject: [Security Announce] MDKSA-2001:020 - cups update

                Linux-Mandrake Security Update Advisory

Package name:           cups
Date:                   February 1st, 2001
Advisory ID:            MDKSA-2001:020

Affected versions:      7.2

Problem Description:

A problem exists in all versions of CUPS prior to 1.1.5 with the httpGets() function. It could go into an infinite loop if a line longer than the input buffer size was sent by a client. This could be used as a DoS attack. As well, all occurances of sprintf() calls were changed to snprintf(), and all occurances of strcpy() calls were changed to strncpy() calls, both of which protect against buffer overflows. Finally, CUPS now defaults to not broadcasting the printer information anymore by default, and by default access is only allowed from the local machine.

Please verify the update prior to upgrading to ensure the integrity of the downloaded package. You can do this with the command:
rpm --checksig package.rpm
You can get the GPG public key of the Linux-Mandrake Security Team at
If you use MandrakeUpdate, the verification of md5 checksum and GPG signature is performed automatically for you.

Linux-Mandrake 7.2:
3641418ba0a50b51166ccc3b95c7806a 7.2/RPMS/cups-1.1.6-2.1mdk.i586.rpm
17eec0fe113ced2a65e74bfe720fa782 7.2/RPMS/cups-common-1.1.6-2.1mdk.i586.rpm
0160994b6fa53d2b8e868a652fd48e36 7.2/RPMS/libcups1-1.1.6-2.1mdk.i586.rpm
c2e23252764028755221f48a4fe139bb 7.2/RPMS/libcups1-devel-1.1.6-2.1mdk.i586.rpm
2af433ca7a20d2d6f8a9d7098f7c2b9b 7.2/SRPMS/cups-1.1.6-2.1mdk.src.rpm

To upgrade automatically, use <<MandrakeUpdate>>.

If you want to upgrade manually, download the updated package from one of our FTP server mirrors and uprade with "rpm -Uvh package_name".

You can download the updates directly from:

Or try one of the other mirrors listed at:


Updated packages are available in the "updates/[ver]/RPMS/" directory. For example, if you are looking for an updated RPM package for Linux-Mandrake 7.1, look for it in "updates/7.1/RPMS/". Updated source RPMs are available as well, but you generally do not need to download them.

Please be aware that sometimes it takes the mirrors a few hours to update, so if you want an immediate upgrade, please use one of the two above-listed mirrors.

You can view other security advisories for Linux-Mandrake at:


If you want to report vulnerabilities, please contact


Linux-Mandrake has two security-related mailing list services that anyone can subscribe to:


Linux-Mandrake's security announcements mailing list. Only announcements are sent to this list and it is read-only.


Linux-Mandrake's security discussion mailing list. This list is open to anyone to discuss Linux-Mandrake security specifically and Linux security in general.

To subscribe to either list, send a message to sympa@linux-mandrake.com with "subscribe [listname]" in the body of the message.

To remove yourself from either list, send a message to sympa@linux-mandrake.com with "unsubscribe [listname]" in the body of the message.

To get more information on either list, send a message to sympa@linux-mandrake.com with "info [listname]" in the body of the message.

Optionally, you can use the web interface to subscribe to or unsubscribe from either list: