libvorbis: Multiple vulnerabilities

Security Team  Contact Address

Updated October 07, 2007

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200710-03 / libvorbis
Release Date October 07, 2007
Latest Revision October 07, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
media-libs/libvorbis < 1.2.0 >= 1.2.0 All supported architectures

Related bugreports: #186716

Synopsis

A buffer overflow vulnerability and several memory corruptions have been discovered in libvorbis.

2.  Impact Information

Background

libvorbis is the reference implementation of the Xiph.org Ogg Vorbis audio file format. It is used by many applications for playback of Ogg Vorbis files.

Description

David Thiel of iSEC Partners discovered a heap-based buffer overflow in the _01inverse() function in res0.c and a boundary checking error in the vorbis_info_clear() function in info.c (CVE-2007-3106 and CVE-2007-4029). libvorbis is also prone to several Denial of Service vulnerabilities in form of infinite loops and invalid memory access with unknown impact (CVE-2007-4065 and CVE-2007-4066).

Impact

A remote attacker could exploit these vulnerabilities by enticing a user to open a specially crafted Ogg Vorbis file or network stream with an application using libvorbis. This might lead to the execution of arbitrary code with privileges of the user playing the file or a Denial of Service by a crash or CPU consumption.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All libvorbis users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=media-libs/libvorbis-1.2.0"

4.  References