<<< Date Index >>>     <<< Thread Index >>>

[ GLSA 200603-10 ] Cube: Multiple vulnerabilities



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200603-10
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: High
     Title: Cube: Multiple vulnerabilities
      Date: March 13, 2006
      Bugs: #125289
        ID: 200603-10

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

Cube is vulnerable to a buffer overflow, invalid memory access and
remote client crashes, possibly leading to a Denial of Service or
remote code execution.

Background
==========

Cube is an open source first person shooter game engine supporting
multiplayer via LAN or internet.

Affected packages
=================

    -------------------------------------------------------------------
     Package         /   Vulnerable   /                     Unaffected
    -------------------------------------------------------------------
  1  games-fps/cube      <= 20050829                       Vulnerable!
    -------------------------------------------------------------------
     NOTE: Certain packages are still vulnerable. Users should migrate
           to another package if one is available or wait for the
           existing packages to be marked stable by their
           architecture maintainers.

Description
===========

Luigi Auriemma reported that Cube is vulnerable to a buffer overflow in
the sgetstr() function (CVE-2006-1100) and that the sgetstr() and
getint() functions fail to verify the length of the supplied argument,
possibly leading to the access of invalid memory regions
(CVE-2006-1101). Furthermore, he discovered that a client crashes when
asked to load specially crafted mapnames (CVE-2006-1102).

Impact
======

A remote attacker could exploit the buffer overflow to execute
arbitrary code with the rights of the user running cube. An attacker
could also exploit the other vulnerabilities to crash a Cube client or
server, resulting in a Denial of Service.

Workaround
==========

Play solo games or restrict your multiplayer games to trusted parties.

Resolution
==========

Upstream stated that there will be no fixed version of Cube, thus the
Gentoo Security Team decided to hardmask Cube for security reasons. All
Cube users are encouraged to uninstall Cube:

    # emerge --ask --unmerge games-fps/cube

References
==========

  [ 1 ] CVE-2006-1100
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1100
  [ 2 ] CVE-2006-1101
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1101
  [ 3 ] CVE-2006-1102
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1102

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200603-10.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@xxxxxxxxxx or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2006 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0

Attachment: pgpVFKyZbHmMN.pgp
Description: PGP signature