Scientific Linux Security Update : cups on SL5.x i386/x86_64

This script is Copyright (C) 2012 Tenable Network Security, Inc.


Synopsis :

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

Description :

The Common UNIX Printing System (CUPS) provides a portable printing
layer for Linux, UNIX, and similar operating systems.

A heap-based buffer overflow flaw was found in the Lempel-Ziv-Welch
(LZW) decompression algorithm implementation used by the CUPS GIF
image format reader. An attacker could create a malicious GIF image
file that, when printed, could possibly cause CUPS to crash or,
potentially, execute arbitrary code with the privileges of the 'lp'
user. (CVE-2011-2896)

This update also fixes the following bugs :

- Prior to this update, the 'Show Completed Jobs,' 'Show
All Jobs,' and 'Show Active Jobs' buttons returned
results globally across all printers and not the results
for the specified printer. With this update, jobs from
only the selected printer are shown.

- Prior to this update, the code of the serial backend
contained a wrong condition. As a consequence, print
jobs on the raw print queue could not be canceled. This
update modifies the condition in the serial backend
code. Now, the user can cancel these print jobs.

- Prior to this update, the textonly filter did not work
if used as a pipe, for example when the command line did
not specify the filename and the number of copies was
always 1. This update modifies the condition in the
textonly filter. Now, the data are sent to the printer
regardless of the number of copies specified.

- Prior to this update, the file descriptor count
increased until it ran out of resources when the cups
daemon was running with enabled Security-Enhanced Linux
(SELinux) features. With this update, all resources are
allocated only once.

- Prior to this update, CUPS incorrectly handled the
en_US.ASCII value for the LANG environment variable. As
a consequence, the lpadmin, lpstat, and lpinfo binaries
failed to write to standard output if using LANG with
the value. This update fixes the handling of the
en_US.ASCII value and the binaries now write to standard
output properly.

All users of cups are advised to upgrade to these updated packages,
which contain backported patches to resolve these issues. After
installing this update, the cupsd daemon will be restarted
automatically.

See also :

http://www.nessus.org/u?4d5f0cd4

Solution :

Update the affected packages.

Risk factor :

Medium / CVSS Base Score : 5.1
(CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:P)

Family: Scientific Linux Local Security Checks

Nessus Plugin ID: 61259 ()

Bugtraq ID:

CVE ID: CVE-2011-2896