Gentoo: PDFlibs Multiple overflows in the included TIFF library
Posted by Joe Shakespeare   
Gentoo PDFlib is vulnerable to multiple overflows, which can potentially lead to the execution of arbitrary code.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200412-02
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: PDFlib: Multiple overflows in the included TIFF library
      Date: December 05, 2004
      Bugs: #69043
        ID: 200412-02

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

Synopsis
========

PDFlib is vulnerable to multiple overflows, which can potentially lead
to the execution of arbitrary code.

Background
==========

PDFlib is a library providing functions to handle PDF files. It
includes a modified TIFF library used to process TIFF images.

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

    -------------------------------------------------------------------
     Package            /  Vulnerable  /                    Unaffected
    -------------------------------------------------------------------
  1  media-libs/pdflib     < 5.0.4_p1                      >= 5.0.4_p1

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

The TIFF library is subject to several known vulnerabilities (see GLSA
200410-11). Most of these overflows also apply to PDFlib.

Impact
======

A remote attacker could entice a user or web application to process a
carefully crafted PDF file or TIFF image using a PDFlib-powered
program. This can potentially lead to the execution of arbitrary code
with the rights of the program processing the file.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All PDFlib users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=media-libs/pdflib-5.0.4_p1"

References
==========

  [ 1 ] PDFlib ChangeLog
        http://www.pdflib.com/products/pdflib/info/PDFlib-5.0.4p1-changes.txt
  [ 2 ] CAN-2004-0803
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0803
  [ 3 ] CAN-2004-0804
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0804
  [ 4 ] CAN-2004-0886
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0886
  [ 5 ] GLSA 200410-11
        http://www.gentoo.org/security/en/glsa/glsa-200410-11.xml

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

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

  http://security.gentoo.org/glsa/glsa-200412-02.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 2004 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.0