Joined: 12 May 2004
|Posted: Mon Jul 03, 2006 6:26 pm Post subject: [ GLSA 200607-01 ] mpg123: Heap overflow
|Gentoo Linux Security Advisory
Title: mpg123: Heap overflow (GLSA 200607-01)
Date: July 03, 2006
Updated: July 29, 2006
A heap overflow in mpg123 was discovered, which could result in the execution of arbitrary code.
mpg123 is a real time audio player designed for the MPEG format.
Vulnerable: < 0.59s-r11
Unaffected: >= 0.59s-r11
Architectures: All supported architectures
In httpdget.c, a variable is assigned to the heap, and is supposed to receive a smaller allocation. As this variable was not terminated properly, strncpy() will overwrite the data assigned next in memory.
By enticing a user to visit a malicious URL, an attacker could possibly execute arbitrary code with the rights of the user running mpg123.
There is no known workaround at this time.
All mpg123 users should update to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose ">=media-sound/mpg123-0.59s-r11"
Last edited by GLSA on Sun Jul 30, 2006 4:18 am; edited 1 time in total