Vulnerability · Published Apr 7, 2021 · Assigned by mitre
CVE-2021-30184
High 7.8
In plain English
A high-severity security flaw in the gnuchess package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.8High
Exploit odds (30 days)1.8%top 21.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | gnuchess | 6.2.9-r0 | ALPINE-CVE-2021-30184 |
| Alpine:v3.21 | gnuchess | 6.2.9-r0 | ALPINE-CVE-2021-30184 |
| Alpine:v3.22 | gnuchess | 6.2.9-r0 | ALPINE-CVE-2021-30184 |
| Alpine:v3.23 | gnuchess | 6.2.9-r0 | ALPINE-CVE-2021-30184 |
| Alpine:v3.24 | gnuchess | 6.2.9-r0 | ALPINE-CVE-2021-30184 |
| Debian:12 | gnuchess | 6.2.7-1+deb12u1 | DEBIAN-CVE-2021-30184 |
| Debian:13 | gnuchess | 6.2.9-0.1 | DEBIAN-CVE-2021-30184 |
| Debian:14 | gnuchess | 6.2.9-0.1 | DEBIAN-CVE-2021-30184 |
| Ubuntu:22.04:LTS | gnuchess | 6.2.7-1+deb11u1build0.22.04.1 | USN-7336-1 |
| Ubuntu:22.04:LTS | gnuchess | 6.2.7-1+deb11u1build0.22.04.1 | UBUNTU-CVE-2021-30184 |
| Ubuntu:24.04:LTS | gnuchess | 6.2.7-1+deb11u1build0.24.04.1 | UBUNTU-CVE-2021-30184 |
| Ubuntu:24.04:LTS | gnuchess | 6.2.7-1+deb11u1build0.24.04.1 | USN-7336-1 |
Affected products (as reported)
References
- https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00000.html x_refsource_MISC
- https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00001.html x_refsource_MISC
- FEDORA-2021-a58cb9bc7a vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-2c714d311f vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-ff3297913b vendor-advisory, x_refsource_FEDORA
- GLSA-202107-28 vendor-advisory, x_refsource_GENTOO
- https://lists.debian.org/debian-lts-announce/2025/01/msg00007.html