Gentoo: Grip CDDB response overflow
Posted by Benjamin D. Thomas   
Gentoo Grip contains a buffer overflow that can be triggered by a large CDDB response, potentially allowing the execution of arbitrary code.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200503-21
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Grip: CDDB response overflow
      Date: March 17, 2005
      Bugs: #84704
        ID: 200503-21

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

Synopsis
========

Grip contains a buffer overflow that can be triggered by a large CDDB
response, potentially allowing the execution of arbitrary code.

Background
==========

Grip is a GTK+ based audio CD player/ripper.

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

    -------------------------------------------------------------------
     Package           /  Vulnerable  /                     Unaffected
    -------------------------------------------------------------------
  1  media-sound/grip       < 3.3.0                           >= 3.3.0

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

Joseph VanAndel has discovered a buffer overflow in Grip when
processing large CDDB results.

Impact
======

A malicious CDDB server could cause Grip to crash by returning more
then 16 matches, potentially allowing the execution of arbitrary code
with the privileges of the user running the application.

Workaround
==========

Disable automatic CDDB queries, but we highly encourage users to
upgrade to 3.3.0.

Resolution
==========

All Grip users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=media-sound/grip-3.3.0"

References
==========

  [ 1 ] CAN-2005-0706
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0706
  [ 2 ] Original Bug Report
        http://sourceforge.net/tracker/?group_id=3714&atid=103714&func=detail&aid=834724

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

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

  http://security.gentoo.org/glsa/glsa-200503-21.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 2005 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