Gentoo Archives: gentoo-announce

From: Sam James <sam@g.o>
To: gentoo-announce@l.g.o
Subject: [gentoo-announce] [ GLSA 202107-28 ] GNU Chess: Buffer overflow
Date: Mon, 12 Jul 2021 02:51:11
Message-Id: AB00035D-DB52-465C-8DE2-0D848C1F5C07@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 202107-28
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 https://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: GNU Chess: Buffer overflow
9 Date: July 12, 2021
10 Bugs: #780855
11 ID: 202107-28
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 A buffer overflow in GNU Chess might allow arbitrary code execution.
19
20 Background
21 ==========
22
23 GNU Chess is a console based chess interfae.
24
25 Affected packages
26 =================
27
28 -------------------------------------------------------------------
29 Package / Vulnerable / Unaffected
30 -------------------------------------------------------------------
31 1 games-board/gnuchess < 6.2.8-r1 >= 6.2.8-r1
32
33 Description
34 ===========
35
36 The cmd_pgnload() and cmd_pgnreplay() functions in cmd.cc in GNU Chess
37 to not sufficiently validate PGN file input, potentially resulting in a
38 buffer overflow.
39
40 Impact
41 ======
42
43 A remote attacker could entice a user to open a specially crafted PGN
44 file using GNU Chess, possibly resulting in execution of arbitrary code
45 with the privileges of the process or a Denial of Service condition.
46
47 Workaround
48 ==========
49
50 There is no known workaround at this time.
51
52 Resolution
53 ==========
54
55 All GNU Chess users should upgrade to the latest version:
56
57 # emerge --sync
58 # emerge --ask --oneshot --verbose ">=games-board/gnuchess-6.2.8-r1"
59
60 References
61 ==========
62
63 [ 1 ] CVE-2021-30184
64 https://nvd.nist.gov/vuln/detail/CVE-2021-30184
65
66 Availability
67 ============
68
69 This GLSA and any updates to it are available for viewing at
70 the Gentoo Security Website:
71
72 https://security.gentoo.org/glsa/202107-28
73
74 Concerns?
75 =========
76
77 Security is a primary focus of Gentoo Linux and ensuring the
78 confidentiality and security of our users' machines is of utmost
79 importance to us. Any security concerns should be addressed to
80 security@g.o or alternatively, you may file a bug at
81 https://bugs.gentoo.org.
82
83 License
84 =======
85
86 Copyright 2021 Gentoo Foundation, Inc; referenced text
87 belongs to its owner(s).
88
89 The contents of this document are licensed under the
90 Creative Commons - Attribution / Share Alike license.
91
92 https://creativecommons.org/licenses/by-sa/2.5

Attachments

File name MIME type
signature.asc application/pgp-signature