libmusicbrainz: Multiple buffer overflows — GLSA 200610-09

Multiple buffer overflows have been found in libmusicbrainz, which could lead to a Denial of Service or possibly the execution of arbitrary code.

Affected packages

media-libs/musicbrainz on all architectures
Affected versions < 2.1.4
Unaffected versions >= 2.1.4

Background

libmusicbrainz is a client library used to access MusicBrainz music meta data.

Description

Luigi Auriemma reported a possible buffer overflow in the MBHttp::Download function of lib/http.cpp as well as several possible buffer overflows in lib/rdfparse.c.

Impact

A remote attacker could be able to execute arbitrary code or cause Denial of Service by making use of an overly long "Location" header in an HTTP redirect message from a malicious server or a long URL in malicious RDF feeds.

Workaround

There is no known workaround at this time.

Resolution

All libmusicbrainz users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=media-libs/musicbrainz-2.1.4"

References

Release date
October 22, 2006

Latest revision
October 22, 2006: 01

Severity
normal

Exploitable
remote

Bugzilla entries