GnomeVFS, libcdaudio: CDDB response overflow — GLSA 200504-07

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.

Affected Packages

gnome-base/gnome-vfs on all architectures
Affected versions < 2.8.4-r1
Unaffected versions >= 2.8.4-r1, revision >= 1.0.5-r4
media-libs/libcdaudio on all architectures
Affected versions < 0.99.10-r1
Unaffected versions >= 0.99.10-r1

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.

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

All libcdaudio users should upgrade to the latest version:

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

References

Release Date
April 08, 2005

Latest Revision
April 13, 2005: 02

Severity
normal

Exploitable
remote

Bugzilla entries