mpg123: Heap overflow
1.
Gentoo Linux Security Advisory
Version Information
| Advisory Reference |
GLSA 200607-01 / mpg123 |
| Release Date |
July 03, 2006 |
| Latest Revision |
July 29, 2006: 02 |
| Impact |
normal |
| Exploitable |
remote |
| Package |
Vulnerable versions |
Unaffected versions |
Architecture(s) |
| media-sound/mpg123 |
<
0.59s-r11 |
>=
0.59s-r11 |
All supported architectures
|
Related bugreports:
#133988
Synopsis
A heap overflow in mpg123 was discovered, which could result in the
execution of arbitrary code.
2.
Impact Information
Background
mpg123 is a real time audio player designed for the MPEG format.
Description
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.
Impact
By enticing a user to visit a malicious URL, an attacker could possibly
execute arbitrary code with the rights of the user running mpg123.
3.
Resolution Information
Workaround
There is no known workaround at this time.
Resolution
All mpg123 users should update to the latest version:
Code Listing 3.1: Resolution |
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-sound/mpg123-0.59s-r11"
|
4.
References
|