Mandrake Linux Security Advisory : cups (MDKSA-2001:020-1)
High Nessus Plugin ID 61894
SynopsisThe remote Mandrake Linux host is missing one or more security updates.
DescriptionA 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.
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.
SolutionUpdate the affected cups, cups-common and / or cups-devel packages.