PT-2021-18658 · Gnu+3 · Gnu Chess+3

Michael Vaughan

·

Published

2021-04-07

·

Updated

2025-03-06

·

CVE-2021-30184

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions GNU Chess version 6.2.7
Description The issue allows attackers to execute arbitrary code via crafted PGN (Portable Game Notation) data. This is related to a buffer overflow in the use of a .tmp.epd temporary file in the cmd pgnload and cmd pgnreplay functions in frontend/cmd.cc.
Recommendations For GNU Chess version 6.2.7, as a temporary workaround, consider disabling the cmd pgnload and cmd pgnreplay functions until a patch is available. Restrict access to the .tmp.epd temporary file to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2021-1814
ALT-PU-2025-1310
CVE-2021-30184
DLA-4014-1
MGASA-2021-0250
OPENSUSE-SU-2024:10799-1
USN-7336-1

Affected Products

Alt Linux
Gnu Chess
Linuxmint
Ubuntu