GLSA 202107-28: GNU Chess: Buffer overflow

Severity:normal
Title:GNU Chess: Buffer overflow
Date:07/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 Architecture(s)
games-board/gnuchess < 6.2.8-r1 >= 6.2.8-r1 All supported architectures

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

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202107-28.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@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

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

Thank you!