[ GLSA 202107-28 ] GNU Chess: Buffer overflow

Sam James <[email protected]>
Newsgroups gmane.linux.gentoo.announce
Message-ID <[email protected]>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 202107-28
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                           https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: GNU Chess: Buffer overflow
     Date: July 12, 2021
     Bugs: #780855
       ID: 202107-28

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

Synopsis
========

A buffer overflow in GNU Chess might allow arbitrary code execution.

Background
==========

GNU Chess is a console based chess interfae.

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

    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  games-board/gnuchess        < 6.2.8-r1               >= 6.2.8-r1

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

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.

Impact
======

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.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All GNU Chess users should upgrade to the latest version:

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=games-board/gnuchess-6.2.8-r1"

References
==========

[ 1 ] CVE-2021-30184
      https://nvd.nist.gov/vuln/detail/CVE-2021-30184

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

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

 https://security.gentoo.org/glsa/202107-28

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
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2021 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.

https://creativecommons.org/licenses/by-sa/2.5
signature.asc (application/pgp-signature, 618 B)
-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEEYOpPv/uDUzOcqtTy9JIoEO6gSDsFAmDrrQJfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYw
RUE0RkJGRkI4MzUzMzM5Q0FBRDRGMkY0OTIyODEwRUVBMDQ4M0IACgkQ9JIoEO6g
SDvMrAf+OKJdp4077HLqLyr0QUaOfJJ4N2VGtwELfAzMc725sclCtWqIHR/J0720
kiibp7Hq4RiHpftqj753CM0pQfutesahzg19TRG3fFKU6SaLyhhsr4Jn8R8AGuQk
MI9I6utM7DQI5/XBB119LjDglQCdTAD/EWnzCzpyU2jzigGDDo+WgfR38OqZcVWx
d6eCO2xOHDp2E/XFBZirZdwd0aRtDFqCHTc225XD/u597p2dl4JEckB6NPLGXi2h
G+mn76eaxXk/wQpGl3ojaYKeEEbPlwSEhH/+VzebX0VkiYtb2/XardWyA17F97Nc
gJspWGPC7Vrup0Wf3YsyyNP4sPgVYw==
=VEjV
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.