Gentoo: CUPS Multiple vulnerabilities
Posted by Benjamin D. Thomas   
Gentoo Several remotely exploitable bugs have been found in CUPS, which allow remote execution of arbitrary code.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200812-11
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                              http://security.gentoo.org/=

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

    Severity: High
       Title: CUPS: Multiple vulnerabilities
        Date: December 10, 2008
        Bugs: #238976, #249727
          ID: 200812-11

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

Synopsis
=3D=3D=3D=3D=3D=3D=3D=3D

Several remotely exploitable bugs have been found in CUPS, which allow
remote execution of arbitrary code.

Background
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

CUPS is the Common Unix Printing System.

Affected packages
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

      -------------------------------------------------------------------=

       Package         /  Vulnerable  /                       Unaffected
      -------------------------------------------------------------------=

    1  net-print/cups     < 1.3.9-r1                         >=3D 1.3.9-r=
1

Description
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Several buffer overflows were found in:

* The read_rle16 function in imagetops (CVE-2008-3639, found by
    regenrecht, reported via ZDI)

* The WriteProlog function in texttops (CVE-2008-3640, found by
    regenrecht, reported via ZDI)

* The Hewlett-Packard Graphics Language (HPGL) filter (CVE-2008-3641,
    found by regenrecht, reported via iDefense)

* The _cupsImageReadPNG function (CVE-2008-5286, reported by iljavs)

Impact
=3D=3D=3D=3D=3D=3D

A remote attacker could send specially crafted input to a vulnerable
server, resulting in the remote execution of arbitrary code with the
privileges of the user running the server.

Workaround
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

None this time.

Resolution
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

All CUPS users should upgrade to the latest version.

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=3Dnet-print/cups-1.3.9-r1"

References
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

    [ 1 ] CVE-2008-3639
          http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2008-3639
    [ 2 ] CVE-2008-3640
          http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2008-3640
    [ 3 ] CVE-2008-3641
          http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2008-3641
    [ 4 ] CVE-2008-5286
          http://cve.mitre.org/cgi-bin/cvename.cgi?name=3DCVE-2008-5286

Availability
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

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

    http://security.gentoo.org/glsa/glsa-200812-11.xml

Concerns?
=3D=3D=3D=3D=3D=3D=3D=3D=3D

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
=3D=3D=3D=3D=3D=3D=3D

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