Grip: CDDB response overflow

Security Team  Contact Address

Updated March 17, 2005

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200503-21 / grip
Release Date March 17, 2005
Latest Revision March 17, 2005: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-sound/grip < 3.3.0 >= 3.3.0 All supported architectures

Related bugreports: #84704

Synopsis

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

2.  Impact Information

Background

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

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.

3.  Resolution Information

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:

Code Listing 3.1: Resolution

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

4.  References