{"api_version":"1","generated_at":"2026-04-22T23:08:34+00:00","cve":"CVE-2021-30184","urls":{"html":"https://cve.report/CVE-2021-30184","api":"https://cve.report/api/cve/CVE-2021-30184.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-30184","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-30184"},"summary":{"title":"CVE-2021-30184","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-04-07 12:15:00","updated_at":"2023-11-07 03:33:00"},"problem_types":["CWE-120"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SOGPLC77ZL2FACSOE5MWDS3YH3RBNQAQ/","name":"FEDORA-2021-ff3297913b","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: gnuchess-6.2.7-5.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00000.html","name":"https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00000.html","refsource":"MISC","tags":[],"title":"Buffer Overflows in cmd.cc","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202107-28","name":"GLSA-202107-28","refsource":"GENTOO","tags":[],"title":"GNU Chess: Buffer overflow (GLSA 202107-28) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SOGPLC77ZL2FACSOE5MWDS3YH3RBNQAQ/","name":"FEDORA-2021-ff3297913b","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: gnuchess-6.2.7-5.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XXOTMUSBVUZNA3JMPG6BU37DQW2YOJWS/","name":"FEDORA-2021-a58cb9bc7a","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 32 Update: gnuchess-6.2.7-5.fc32 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00001.html","name":"https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00001.html","refsource":"MISC","tags":[],"title":"Re: Buffer Overflows in cmd.cc","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QC74RWMDLSQGV6Z3ZABNTPABB33S4YNF/","name":"FEDORA-2021-2c714d311f","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: gnuchess-6.2.7-5.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XXOTMUSBVUZNA3JMPG6BU37DQW2YOJWS/","name":"FEDORA-2021-a58cb9bc7a","refsource":"","tags":[],"title":"[SECURITY] Fedora 32 Update: gnuchess-6.2.7-5.fc32 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QC74RWMDLSQGV6Z3ZABNTPABB33S4YNF/","name":"FEDORA-2021-2c714d311f","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: gnuchess-6.2.7-5.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-30184","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-30184","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"30184","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"32","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"30184","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"30184","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"30184","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gnu","cpe5":"chess","cpe6":"6.2.7","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-30184","qid":"281341","title":"Fedora Security Update for gnuchess (FEDORA-2021-ff3297913b)"},{"cve":"CVE-2021-30184","qid":"281342","title":"Fedora Security Update for gnuchess (FEDORA-2021-a58cb9bc7a)"},{"cve":"CVE-2021-30184","qid":"281343","title":"Fedora Security Update for gnuchess (FEDORA-2021-2c714d311f)"},{"cve":"CVE-2021-30184","qid":"502088","title":"Alpine Linux Security Update for gnuchess"},{"cve":"CVE-2021-30184","qid":"710047","title":"Gentoo Linux GNU Chess Buffer overflow (GLSA 202107-28)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-30184","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00000.html","refsource":"MISC","name":"https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00000.html"},{"url":"https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00001.html","refsource":"MISC","name":"https://lists.gnu.org/archive/html/bug-gnu-chess/2021-04/msg00001.html"},{"refsource":"FEDORA","name":"FEDORA-2021-a58cb9bc7a","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XXOTMUSBVUZNA3JMPG6BU37DQW2YOJWS/"},{"refsource":"FEDORA","name":"FEDORA-2021-2c714d311f","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QC74RWMDLSQGV6Z3ZABNTPABB33S4YNF/"},{"refsource":"FEDORA","name":"FEDORA-2021-ff3297913b","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SOGPLC77ZL2FACSOE5MWDS3YH3RBNQAQ/"},{"refsource":"GENTOO","name":"GLSA-202107-28","url":"https://security.gentoo.org/glsa/202107-28"}]}},"nvd":{"publishedDate":"2021-04-07 12:15:00","lastModifiedDate":"2023-11-07 03:33:00","problem_types":["CWE-120"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gnu:chess:6.2.7:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"30184","Ordinal":"205436","Title":"CVE-2021-30184","CVE":"CVE-2021-30184","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"30184","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"30184","Ordinal":"2","NoteData":"2021-04-07","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"30184","Ordinal":"3","NoteData":"2021-07-12","Type":"Other","Title":"Modified"}]}}}