CVE-2020-25647 Memory corruption in grub2
An attacker with physical access can trigger memory corruption via a malicious USB device to execute arbitrary code and bypass Secure Boot.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-25647?
CVE-2020-25647 is a high-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. During USB device initialization, descriptors are read with very little bounds checking and assumes the USB device is providing sane values. If properly exploited, an attacker could trigger memory corruption leading to arbitrary code execution allowing a bypass of the Secure Boot mechanism. 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-2020-25647?
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-2020-25647?
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-2020-25647 being exploited?
There is no known exploitation of CVE-2020-25647 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALPINE-CVE-2020-25647, AZL-6462, DEBIAN-CVE-2020-25647, GHSA-q9cp-m9vw-25xh.