Mandrake Linux Security Advisory : cups (MDKSA-2001:020-1)

High Nessus Plugin ID 61894


The remote Mandrake Linux host is missing one or more security updates.


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.

Update :

The previously released packages were improperly constructed using the new library method currently used in the Linux-Mandrake Cooker, and as such caused upgrade problems for existing 7.2 users. This update corrects this and does not use the libcups1(-devel) packages which caused the problem. Users who have already upgraded to the updated cups packages announced last week will need to uninstall the libcups1 packages and then upgrade cups again. To do this, at the command line execute the following commands prior to running MandrakeUpdate :

rpm -e libcups1-devel rpm -e libcups1 --nodeps

Now you can update the cups packages properly via MandrakeUpdate.


Update the affected cups, cups-common and / or cups-devel packages.

Plugin Details

Severity: High

ID: 61894

File Name: mandrake_MDKSA-2001-020.nasl

Version: $Revision: 1.3 $

Type: local

Published: 2012/09/06

Modified: 2013/05/31

Dependencies: 12634

Risk Information

Risk Factor: High

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:cups, p-cpe:/a:mandriva:linux:cups-common, p-cpe:/a:mandriva:linux:cups-devel, cpe:/o:mandrakesoft:mandrake_linux:7.2

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/Mandrake/release, Host/Mandrake/rpm-list

Patch Publication Date: 2001/02/05

Reference Information

MDKSA: 2001:020-1