GLSA 200804-01 CUPS: Multiple vulnerabilities
Posted on: 04/01/2008 08:40 PM

A new security update has been released for Gentoo Linux - CUPS: Multiple vulnerabilities. Here the announcement:

Gentoo Linux Security Advisory GLSA 200804-01
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: High
Title: CUPS: Multiple vulnerabilities
Date: April 01, 2008
Bugs: #211449, #212364, #214068
ID: 200804-01

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Multiple vulnerabilities have been discovered in CUPS, allowing for the
remote execution of arbitrary code and a Denial of Service.

Background
==========

CUPS provides a portable printing layer for UNIX-based operating
systems.

Affected packages
=================

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 net-print/cups lt; 1.2.12-r7 gt;= 1.2.12-r7

Description
===========

Multiple vulnerabilities have been reported in CUPS:

* regenrecht (VeriSign iDefense) discovered that the
cgiCompileSearch() function used in several CGI scripts in CUPS'
administration interface does not correctly calculate boundaries when
processing a user-provided regular expression, leading to a
heap-based buffer overflow (CVE-2008-0047).

* Helge Blischke reported a double free() vulnerability in the
process_browse_data() function when adding or removing remote shared
printers (CVE-2008-0882).

* Tomas Hoger (Red Hat) reported that the gif_read_lzw() function
uses the code_size value from GIF images without properly checking
it, leading to a buffer overflow (CVE-2008-1373).

* An unspecified input validation error was discovered in the HP-GL/2
filter (CVE-2008-0053).

Impact
======

A local attacker could send specially crafted network packets or print
jobs and possibly execute arbitrary code with the privileges of the
user running CUPS (usually lp), or cause a Denial of Service. The
vulnerabilities are exploitable via the network when CUPS is sharing
printers remotely.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All CUPS users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose "gt;=net-print/cups-1.2.12-r7"

References
==========

[ 1 ] CVE-2008-0047
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0047
[ 2 ] CVE-2008-0053
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0053
[ 3 ] CVE-2008-0882
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0882
[ 4 ] CVE-2008-1373
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1373

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

http://security.gentoo.org/glsa/glsa-200804-01.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2008 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/glsa_200804_01_cups_multiple_vulnerabilities.html)