GnomeVFS, libcdaudio: CDDB response overflow

Security Team  Contact Address

Updated April 08, 2005

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200504-07 / GnomeVFS
Release Date April 08, 2005
Latest Revision April 13, 2005: 02
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
gnome-base/gnome-vfs < 2.8.4-r1 >= 2.8.4-r1, revision >= 1.0.5-r4 All supported architectures
media-libs/libcdaudio < 0.99.10-r1 >= 0.99.10-r1 All supported architectures

Related bugreports: #84936

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.

2.  Impact Information

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.

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All GnomeVFS users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose gnome-base/gnome-vfs

All libcdaudio users should upgrade to the latest version:

Code Listing 3.2: Resolution

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

4.  References