First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 14076
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Spider (RETIRED) <spider@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 14076 depends on: Show dependency tree
Bug 14076 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-01-16 22:32 0000
other link: http://online.securityfocus.com/archive/1/306727

http://www.mpg123.de/ has this stated:
    
MPG123
News
16. Jan. 2003

      Important information about the Gobble Exploit: It seems, that only the
pre0.59s version is vulnerable. The hotfix is to increase the
MAX_INPUT_FRAMESIZE to a big value. Ie 4096. I will review the whole code this
weekend. I will also try to supply an mp3 checker this weekend. So it is not
necessary to remove all your mp3s. Just do not play them with a potentially
vulnerable player and check them later. Thanx. 




We need to check xmms as well as mpg123 for this. :/

------- Comment #1 From Daniel Ahlberg (RETIRED) 2003-01-17 03:38:47 0000 -------
We have the lastest stable version in the tree, 0.59r, which is not vulnerable. 
However, a patch was posted to fix a bug in 0.59r: 

Dear Benjamin Tober, 

Latest release mpg123 0.59r uses large enough buffer size and may not be 
exploited this way. But both versions have another one bug in frame size 
calculation  -  zero  bitrate  will  lead  to  negative frame size to be 
calculated. Unchecked patches: 

for 0.59r: 

--- common.old  2003-01-15 21:42:15.000000000 +0300 
+++ common.c    2003-01-15 21:42:38.000000000 +0300 
@@ -123,7 +123,7 @@ 
        return FALSE; 
     if(!((head>>17)&3)) 
        return FALSE; 
-    if( ((head>>12)&0xf) == 0xf) 
+    if( ((head>>12)&0xf) == 0xf || (head>>12)&0xf) == 0) 
        return FALSE; 
     if( ((head>>10)&0x3) == 0x3 ) 
        return FALSE; 


------- Comment #2 From solar 2003-09-21 22:58:22 0000 -------
media-sound/mpg123-0.59s is now in the tree. 
changing resolution to FIXED

First Last Prev Next    No search results available      Search page      Enter new bug