CVE-2021-30184

NameCVE-2021-30184
DescriptionGNU 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs986801

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gnuchess (PTS)jessie6.1.2-1vulnerable
stretch6.2.4-1vulnerable
buster6.2.5-1vulnerable
sid, trixie, bullseye, bookworm6.2.7-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gnuchesssourcejessie(unfixed)end-of-life
gnuchesssource(unstable)(unfixed)986801

Notes

[bookworm] - gnuchess <no-dsa> (Minor issue)
[bullseye] - gnuchess <no-dsa> (Minor issue)
[buster] - gnuchess <no-dsa> (Minor issue)
[stretch] - gnuchess <postponed> (Minor issue in a game; can be fixed in next update)
https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00000.html
https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00001.html

Search for package or bug name: Reporting problems