summaryrefslogtreecommitdiff
blob: 4f0bacb011e135dfca309cde84bce734edebb930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200603-26">
  <title>bsd-games: Local privilege escalation in tetris-bsd</title>
  <synopsis>
    tetris-bsd is prone to local privilege escalation vulnerabilities.
  </synopsis>
  <product type="ebuild">bsd-games</product>
  <announced>2006-03-29</announced>
  <revised count="02">2006-05-22</revised>
  <bug>122399</bug>
  <access>local</access>
  <affected>
    <package name="games-misc/bsd-games" auto="yes" arch="*">
      <unaffected range="ge">2.17-r1</unaffected>
      <vulnerable range="lt">2.17-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    bsd-games is a collection of NetBSD games ported to Linux.
    </p>
  </background>
  <description>
    <p>
    Tavis Ormandy of the Gentoo Linux Security Audit Team discovered that
    the checkscores() function in scores.c reads in the data from the
    /var/games/tetris-bsd.scores file without validation, rendering it
    vulnerable to buffer overflows and incompatible with the system used
    for managing games on Gentoo Linux. As a result, it cannot be played
    securely on systems with multiple users. Please note that this is
    probably a Gentoo-specific issue.
    </p>
  </description>
  <impact type="normal">
    <p>
    A local user who is a member of group "games" may be able to modify the
    tetris-bsd.scores file to trigger the execution of arbitrary code with
    the privileges of other players.
    </p>
  </impact>
  <workaround>
    <p>
    Do not add untrusted users to the "games" group.
    </p>
  </workaround>
  <resolution>
    <p>
    All bsd-games users are advised to update to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=games-misc/bsd-games-2.17-r1"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1539">CVE-2006-1539</uri>
  </references>
  <metadata tag="requester" timestamp="2006-03-21T19:50:34Z">
    jaervosz
  </metadata>
  <metadata tag="submitter" timestamp="2006-03-27T15:36:51Z">
    DerCorny
  </metadata>
  <metadata tag="bugReady" timestamp="2006-03-28T18:00:28Z">
    DerCorny
  </metadata>
</glsa>