Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 125289
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stefan Cornelius (RETIRED) <dercorny@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

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

Bug 125289 depends on: Show dependency tree
Bug 125289 blocks:

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: 2006-03-06 12:50 0000
1. The game uses an unchecked function for reading the strings from the
incoming data.
The function is sgetstr() located in cube.h:

2. sgetstr(), getint() and the instructions which call them don't check
the correct length of the input data.

3. In the Cube engine the players have the possibility to choose a
specific map on which playing, if there is only one player in the
server the map is changed immediately otherwise will be voted.
When a client tries to load an invalid map file it exits immediately
showing the "while reading map: header malformatted" error.

------- Comment #1 From Stefan Cornelius (RETIRED) 2006-03-06 12:53:32 0000 -------
according to the advisory, upstream wont fix this - games team, what do you
want to do here? build own patch or wait if others provide one, mask or remove
completely?

------- Comment #2 From Mr. Bones. 2006-03-06 13:18:05 0000 -------
Package masked.

------- Comment #3 From Stefan Cornelius (RETIRED) 2006-03-06 15:28:08 0000 -------
*** Bug 125305 has been marked as a duplicate of this bug. ***

------- Comment #4 From Stefan Cornelius (RETIRED) 2006-03-07 07:43:39 0000 -------
mhhh, do we need a masking GLSA here? I assume that cube is present on less
than 1/20 of the gentoo installs so policy doesnt force a GLSA. But what do you
think?

------- Comment #5 From Thierry Carrez (RETIRED) 2006-03-07 10:16:51 0000 -------
Yes a maskGLSA is needed, since this allows remote code execution against game
server.

------- Comment #6 From Fredric Johansson 2006-03-11 05:08:33 0000 -------
Does these vulnerablities applies to all verions of cube even the newest?

------- Comment #7 From Stefan Cornelius (RETIRED) 2006-03-11 05:16:13 0000 -------
At least it affects all versions in portage (which are probably the newest from
upstream). As said in the advisory, upstream does not plan to release an update
so better dont wait for one.

------- Comment #8 From SpanKY 2006-03-11 10:17:34 0000 -------
we could patch the source code ourselves, but the only client that works with
official multiplayer servers is the binary-only client :/

------- Comment #9 From Stefan Cornelius (RETIRED) 2006-03-12 16:28:17 0000 -------
GLSA 200603-10

As usual, I keep the bug as enhancement so that we dont forget about this.

------- Comment #10 From Mr. Bones. 2007-03-20 02:56:35 0000 -------
I removed it from portage since games-fps/sauerbraten (aka Cube2) is in
portage.

------- Comment #11 From Matt Drew 2007-04-04 23:00:18 0000 -------
confirmed that cube is gone from portage - Thanks Mr. Bones.  Closing!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug