1 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 |
Gentoo Linux Security Advisory GLSA 200607-01 |
3 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
4 |
http://security.gentoo.org/ |
5 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
6 |
|
7 |
Severity: Normal |
8 |
Title: mpg123: Heap overflow |
9 |
Date: July 03, 2006 |
10 |
Bugs: #133988 |
11 |
ID: 200607-01 |
12 |
|
13 |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
14 |
|
15 |
Synopsis |
16 |
======== |
17 |
|
18 |
A heap overflow in mpg123 was discovered, which could result in the |
19 |
execution of arbitrary code. |
20 |
|
21 |
Background |
22 |
========== |
23 |
|
24 |
mpg123 is a real time audio player designed for the MPEG format. |
25 |
|
26 |
Affected packages |
27 |
================= |
28 |
|
29 |
------------------------------------------------------------------- |
30 |
Package / Vulnerable / Unaffected |
31 |
------------------------------------------------------------------- |
32 |
1 media-sound/mpg123 < 0.59s-r11 >= 0.59s-r11 |
33 |
|
34 |
Description |
35 |
=========== |
36 |
|
37 |
In httpdget.c, a variable is assigned to the heap, and is supposed to |
38 |
receive a smaller allocation. As this variable was not terminated |
39 |
properly, strncpy() will overwrite the data assigned next in memory. |
40 |
|
41 |
Impact |
42 |
====== |
43 |
|
44 |
By enticing a user to visit a malicious URL, an attacker could possibly |
45 |
execute arbitrary code with the rights of the user running mpg123. |
46 |
|
47 |
Workaround |
48 |
========== |
49 |
|
50 |
There is no known workaround at this time. |
51 |
|
52 |
Resolution |
53 |
========== |
54 |
|
55 |
All mpg123 users should update to the latest version: |
56 |
|
57 |
# emerge --sync |
58 |
# emerge --ask --oneshot --verbose ">=media-sound/mpg123-0.59s-r11" |
59 |
|
60 |
Availability |
61 |
============ |
62 |
|
63 |
This GLSA and any updates to it are available for viewing at |
64 |
the Gentoo Security Website: |
65 |
|
66 |
http://security.gentoo.org/glsa/glsa-200607-01.xml |
67 |
|
68 |
Concerns? |
69 |
========= |
70 |
|
71 |
Security is a primary focus of Gentoo Linux and ensuring the |
72 |
confidentiality and security of our users machines is of utmost |
73 |
importance to us. Any security concerns should be addressed to |
74 |
security@g.o or alternatively, you may file a bug at |
75 |
http://bugs.gentoo.org. |
76 |
|
77 |
License |
78 |
======= |
79 |
|
80 |
Copyright 2006 Gentoo Foundation, Inc; referenced text |
81 |
belongs to its owner(s). |
82 |
|
83 |
The contents of this document are licensed under the |
84 |
Creative Commons - Attribution / Share Alike license. |
85 |
|
86 |
http://creativecommons.org/licenses/by-sa/2.5 |