CVEfocus › CVE database › CVE-2021-30184

CVE-2021-30184

CVSS 7.8 HighEPSS 1.8% (higher than 79% of CVEs)Published 2021-04-07Updated 2025-01-12Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

15Fixed
3Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04gnuchessFixed6.2.7-1+deb11u1build0.24.04.1UBUNTU-CVE-2021-30184
Ubuntu 22.04gnuchessFixed6.2.7-1+deb11u1build0.22.04.1UBUNTU-CVE-2021-30184
Ubuntu 20.04gnuchessNot affected
vulnerable_code_not_present
Ubuntu 18.04gnuchessFix pending
Ubuntu 16.04gnuchessFix pending
Ubuntu 14.04gnuchessFix pending
Debian 14gnuchessFixed6.2.9-0.1DEBIAN-CVE-2021-30184
Debian 13gnuchessFixed6.2.9-0.1DEBIAN-CVE-2021-30184
Debian 12gnuchessFixed6.2.7-1+deb12u1DEBIAN-CVE-2021-30184
Red Hat Enterprise Linux 6gnuchessNot affected
Alpine Linux 3.24gnuchessFixed6.2.9-r0ALPINE-CVE-2021-30184
Alpine Linux 3.23gnuchessFixed6.2.9-r0ALPINE-CVE-2021-30184
Alpine Linux 3.22gnuchessFixed6.2.9-r0ALPINE-CVE-2021-30184
Alpine Linux 3.21gnuchessFixed6.2.9-r0ALPINE-CVE-2021-30184
Alpine Linux 3.20gnuchessFixed6.2.9-r0ALPINE-CVE-2021-30184
Alpine Linux 3.19gnuchessFixed6.2.9-r0ALPINE-CVE-2021-30184
Alpine Linux 3.18gnuchessFixed6.2.9-r0ALPINE-CVE-2021-30184
Alpine Linux 3.17gnuchessFixed6.2.9-r0ALPINE-CVE-2021-30184
Alpine Linux 3.16gnuchessFixed6.2.9-r0ALPINE-CVE-2021-30184
Alpine Linux 3.15gnuchessFixed6.2.9-r0ALPINE-CVE-2021-30184

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.