Gentoo: GNU gv Stack overflow
Posted by Benjamin D. Thomas   
Gentoo GNU gv improperly handles user-supplied data possibly allowing for the execution of arbitrary code.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200611-20
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: GNU gv: Stack overflow
      Date: November 24, 2006
      Bugs: #154573
        ID: 200611-20

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

Synopsis
========

GNU gv improperly handles user-supplied data possibly allowing for the
execution of arbitrary code.

Background
==========

GNU gv is a viewer for PostScript and PDF documents.

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

    -------------------------------------------------------------------
     Package      /  Vulnerable  /                          Unaffected
    -------------------------------------------------------------------
  1  app-text/gv     < 3.6.2-r1                            >= 3.6.2-r1

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

GNU gv does not properly boundary check user-supplied data before
copying it into process buffers.

Impact
======

An attacker could entice a user to open a specially crafted document
with GNU gv and execute arbitrary code with the rights of the user on
the system.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All gv users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-text/gv-3.6.2-r1"

References
==========

  [ 1 ] CVE-2006-5864
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-5864

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

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

  http://security.gentoo.org/glsa/glsa-200611-20.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 2006 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