mpg123: Buffer overflow vulnerabilities — GLSA 200410-27

Buffer overflow vulnerabilities have been found in mpg123 which could lead to execution of arbitrary code.

Affected packages

media-sound/mpg123 on all architectures
Affected versions < 0.59s-r5
Unaffected versions >= 0.59s-r5

Background

mpg123 is a MPEG Audio Player.

Description

Buffer overflow vulnerabilities in the getauthfromURL() and http_open() functions have been reported by Carlos Barros. Additionally, the Gentoo Linux Sound Team fixed additional boundary checks which were found to be lacking.

Impact

By enticing a user to open a malicious playlist or URL or making use of a specially-crafted symlink, an attacker could possibly execute arbitrary code with the rights of the user running mpg123.

Workaround

There is no known workaround at this time.

Resolution

All mpg123 users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=media-sound/mpg123-0.59s-r5"

References

Release date
October 27, 2004

Latest revision
May 22, 2006: 02

Severity
normal

Exploitable
remote

Bugzilla entries