CVE-2021-20225 Memory corruption in grub2
An attacker can cause a heap buffer overflow in GRUB2 via crafted command options, compromising data confidentiality, integrity, and system availability.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-20225?
CVE-2021-20225 is a medium-severity memory corruption vulnerability in Fedoraproject Fedora, published on 3 Mar 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A flaw was found in grub2 in versions prior to 2.06. The option parser allows an attacker to write past the end of a heap-allocated buffer by calling certain commands with a large number of specific short forms of options. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Weakness: CWE-787
Which versions are affected by CVE-2021-20225?
It affects 8 products.
Products include Fedoraproject Fedora, Gnu Grub2, Netapp Ontap Select Deploy Administration Utility, Redhat Enterprise Linux, Redhat Enterprise Linux Server Aus, Redhat Enterprise Linux Server Eus and 2 more.
How do I fix CVE-2021-20225?
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-20225 being exploited?
There is no known exploitation of CVE-2021-20225 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALPINE-CVE-2021-20225, AZL-6465, AZL-78302, DEBIAN-CVE-2021-20225, GHSA-hmmc-9q6p-vgg6, UBUNTU-CVE-2021-20225.