portage-ng / portage / games-board / gnuchess / 6.2.9-r1
portage-ng glsa
1 advisory reference games-board/gnuchess · none place version 6.2.9-r1 in a vulnerable range
▸ GLSA 202107-28 GNU Chess: Buffer overflow this version unaffected normal remote 2021-07-12

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

Announced
2021-07-12
Revised
2021-07-12
Access
remote
Bugs
#780855
Advisory
https://security.gentoo.org/glsa/202107-28

Affected packages

PackageArchVulnerableUnaffected
games-board/gnuchess*< 6.2.8-r1>= 6.2.8-r1

Background

GNU Chess is a console based chess interfae.

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