Synopsis
The remote Mandrake Linux host is missing one or more security updates.
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.
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.
Solution
Update the affected cups, cups-common and / or cups-devel packages.
Plugin Details
File Name: mandrake_MDKSA-2001-020.nasl
Supported Sensors: Nessus
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: 2/5/2001