CVE-2021-30184 Memory corruption in n/a

High 7.8 Published Updated

Attackers can execute arbitrary code in GNU Chess by providing crafted PGN data that triggers a buffer overflow.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-30184?

CVE-2021-30184 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 7 Apr 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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.

Weakness: CWE-120

Which versions are affected by CVE-2021-30184?

It affects 2 products.

Products include Fedoraproject Fedora, Gnu Chess.

How do I fix CVE-2021-30184?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-30184 being exploited?

There is no known exploitation of CVE-2021-30184 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as CLEANSTART-2023-LO06437, DEBIAN-CVE-2021-30184, DLA-4014-1, GHSA-x7m2-6mfm-whq5, MGASA-2021-0250, UBUNTU-CVE-2021-30184 and 1 more.

Is CVE-2021-30184 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free