CVE-2021-30184
JSON

7.8high

GNU Chess 6.2.7 allows attackers to execute arbitrary code via crafted PGN (Portable Game Notation) data.

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
1.77% (higher than 78% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

GNU Chess 6.2.7 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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
gnu chess6.2.7NVD
fedoraproject fedora32, 33, 34NVD

All scores

NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

GNU Chess 6.2.7 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.

NVD (es)

GNU Chess versión 6.2.7, permite a atacantes ejecutar código arbitrario por medio de datos PGN (Portable Game Notation) diseñados. Esto está relacionado con un desbordamiento de búfer en el uso de un archivo temporal .tmp.epd en las funciones cmd_pgnload y cmd_pgnreplay en el archivo frontend/cmd.cc

References

https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00000.htmlexploit, mailing-list, patch, vendor-advisory
https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00001.htmlexploit, mailing-list, vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XXOTMUSBVUZNA3JMPG6BU37DQW2YOJWS/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QC74RWMDLSQGV6Z3ZABNTPABB33S4YNF/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SOGPLC77ZL2FACSOE5MWDS3YH3RBNQAQ/vendor-advisory
https://security.gentoo.org/glsa/202107-28third-party-advisory, vendor-advisory
https://lists.debian.org/debian-lts-announce/2025/01/msg00007.html

Sources

SourceRecordLicence
CVE ListCVE-2021-30184 changed 2025-01-12CVE Terms of Use
NVDCVE-2021-30184 changed 2026-06-17Public domain