Skip to content

CVE-2021-30184 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_pgnloa...

HighCVSS 7.8 EPSS 1.8%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

17 packages: 15 fixed.

PackageAffectedFixed inStatus
alpine/gnuchess(Alpine v3.15) < 6.2.9-r0 6.2.9-r0 Fixed
alpine/gnuchess(Alpine v3.16) < 6.2.9-r0 6.2.9-r0 Fixed
alpine/gnuchess(Alpine v3.17) < 6.2.9-r0 6.2.9-r0 Fixed
alpine/gnuchess(Alpine v3.18) < 6.2.9-r0 6.2.9-r0 Fixed
alpine/gnuchess(Alpine v3.19) < 6.2.9-r0 6.2.9-r0 Fixed
alpine/gnuchess(Alpine v3.20) < 6.2.9-r0 6.2.9-r0 Fixed
alpine/gnuchess(Alpine v3.21) < 6.2.9-r0 6.2.9-r0 Fixed
alpine/gnuchess(Alpine v3.22) < 6.2.9-r0 6.2.9-r0 Fixed
alpine/gnuchess(Alpine v3.23) < 6.2.9-r0 6.2.9-r0 Fixed
alpine/gnuchess(Alpine v3.24) < 6.2.9-r0 6.2.9-r0 Fixed
debian/gnuchess(Debian 12) < 6.2.7-1+deb12u1; = 6.2.7-1 6.2.7-1+deb12u1 Fixed
debian/gnuchess(Debian 13) < 6.2.9-0.1 6.2.9-0.1 Fixed
debian/gnuchess(Debian 14) < 6.2.9-0.1 6.2.9-0.1 Fixed
ubuntu/gnuchess(Ubuntu 22.04) < 6.2.7-1+deb11u1build0.22.04.1; = 6.2.7-1 6.2.7-1+deb11u1build0.22.04.1 Fixed
ubuntu/gnuchess(Ubuntu 24.04) < 6.2.7-1+deb11u1build0.24.04.1; = 6.2.7-1; = 6.2.7-1build1 6.2.7-1+deb11u1build0.24.04.1 Fixed
fedoraproject fedora = 32; = 33; = 34 No fix listed Versions listed
GNU chess = 6.2.7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/gnuchess(Debian:12) < 6.2.7-1+deb12u1 6.2.7-1+deb12u1
debian/gnuchess(Debian:12) = 6.2.7-1 No fix listed
debian/gnuchess(Debian:13) < 6.2.9-0.1 6.2.9-0.1
debian/gnuchess(Debian:14) < 6.2.9-0.1 6.2.9-0.1
ubuntu/gnuchess(Ubuntu:22.04) < 6.2.7-1+deb11u1build0.22.04.1 6.2.7-1+deb11u1build0.22.04.1
GNU chess = 6.2.7 No fix listed
fedoraproject fedora = 32 No fix listed
fedoraproject fedora = 33 No fix listed
fedoraproject fedora = 34 No fix listed
alpine/gnuchess(Alpine:v3.15) < 6.2.9-r0 6.2.9-r0
alpine/gnuchess(Alpine:v3.16) < 6.2.9-r0 6.2.9-r0
alpine/gnuchess(Alpine:v3.17) < 6.2.9-r0 6.2.9-r0
alpine/gnuchess(Alpine:v3.18) < 6.2.9-r0 6.2.9-r0
alpine/gnuchess(Alpine:v3.19) < 6.2.9-r0 6.2.9-r0
alpine/gnuchess(Alpine:v3.20) < 6.2.9-r0 6.2.9-r0
alpine/gnuchess(Alpine:v3.21) < 6.2.9-r0 6.2.9-r0
alpine/gnuchess(Alpine:v3.22) < 6.2.9-r0 6.2.9-r0
alpine/gnuchess(Alpine:v3.23) < 6.2.9-r0 6.2.9-r0
alpine/gnuchess(Alpine:v3.24) < 6.2.9-r0 6.2.9-r0
ubuntu/gnuchess(Ubuntu:24.04) < 6.2.7-1+deb11u1build0.24.04.1 6.2.7-1+deb11u1build0.24.04.1
ubuntu/gnuchess(Ubuntu:22.04) = 6.2.7-1 No fix listed
ubuntu/gnuchess(Ubuntu:24.04) = 6.2.7-1 No fix listed
ubuntu/gnuchess(Ubuntu:24.04) = 6.2.7-1build1 No fix listed

References