summaryrefslogtreecommitdiff
path: root/metadata/glsa/glsa-202107-28.xml
blob: b7822d9afc6b43d50ffc86a9f10528cd6890e8e7 (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202107-28">
  <title>GNU Chess: Buffer overflow</title>
  <synopsis>A buffer overflow in GNU Chess might allow arbitrary code
    execution.
  </synopsis>
  <product type="ebuild">gnuchess</product>
  <announced>2021-07-12</announced>
  <revised count="1">2021-07-12</revised>
  <bug>780855</bug>
  <access>remote</access>
  <affected>
    <package name="games-board/gnuchess" auto="yes" arch="*">
      <unaffected range="ge">6.2.8-r1</unaffected>
      <vulnerable range="lt">6.2.8-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>GNU Chess is a console based chess interfae.</p>
  </background>
  <description>
    <p>The cmd_pgnload() and cmd_pgnreplay() functions in cmd.cc in GNU Chess
      to not sufficiently validate PGN file input, potentially resulting in a
      buffer overflow.
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker could entice a user to open a specially crafted PGN
      file using GNU Chess, possibly resulting in execution of arbitrary code
      with the privileges of the process or a Denial of Service condition.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All GNU Chess users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=games-board/gnuchess-6.2.8-r1"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2021-30184">CVE-2021-30184</uri>
  </references>
  <metadata tag="requester" timestamp="2021-07-06T01:16:05Z">ajak</metadata>
  <metadata tag="submitter" timestamp="2021-07-12T02:45:49Z">ajak</metadata>
</glsa>