Gentoo: GnomeVFS, libcdaudio CDDB response overflow
Posted by Benjamin D. Thomas   
Gentoo The GnomeVFS and libcdaudio libraries contain a buffer overflow that can be triggered by a large CDDB response, potentially allowing the execution of arbitrary code.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200504-07
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: GnomeVFS, libcdaudio: CDDB response overflow
      Date: April 08, 2005
      Bugs: #84936
        ID: 200504-07

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

Synopsis
========

The GnomeVFS and libcdaudio libraries contain a buffer overflow that
can be triggered by a large CDDB response, potentially allowing the
execution of arbitrary code.

Background
==========

GnomeVFS is a filesystem abstraction library for the GNOME desktop
environment. libcdaudio is a multi-platform CD player development
library. They both include code to query CDDB servers to get Audio CD
track titles.

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

    -------------------------------------------------------------------
     Package                /   Vulnerable   /              Unaffected
    -------------------------------------------------------------------
  1  gnome-base/gnome-vfs       < 2.8.4-r1                 >= 2.8.4-r1
  2  media-libs/libcdaudio     < 0.99.10-r1              >= 0.99.10-r1
    -------------------------------------------------------------------
     2 affected packages on all of their supported architectures.
    -------------------------------------------------------------------

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

Joseph VanAndel has discovered a buffer overflow in Grip when
processing large CDDB results (see GLSA 200503-21). The same overflow
is present in GnomeVFS and libcdaudio code.

Impact
======

A malicious CDDB server could cause applications making use of GnomeVFS
or libcdaudio libraries to crash, potentially allowing the execution of
arbitrary code with the privileges of the user running the application.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All GnomeVFS users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=gnome-base/gnome-vfs-2.8.4-r1"

All libcdaudio users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=media-libs/libcdaudio-0.99.10-r1"

References
==========

  [ 1 ] CAN-2005-0706
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0706
  [ 2 ] GLSA 200503-21
        http://www.gentoo.org/security/en/glsa/glsa-200503-21.xml

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

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

  http://security.gentoo.org/glsa/glsa-200504-07.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