GLSA-202107-28 : GNU Chess: Buffer overflow

high Nessus Plugin ID 157008

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-202107-28 (GNU Chess: Buffer overflow)

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.

Solution

All GNU Chess users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=games-board/gnuchess-6.2.8-r1'

See Also

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

Plugin Details

Severity: High

ID: 157008

File Name: gentoo_GLSA-202107-28.nasl

Version: 1.4

Type: local

Published: 1/24/2022

Updated: 12/21/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-30184

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:gnuchess, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/12/2021

Vulnerability Publication Date: 4/7/2021

Reference Information

CVE: CVE-2021-30184

GLSA: 202107-28