CVE-2020-25647: High severity centos grub2-pc-modules vulnerability
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.
Other sources
grubusbdeviceinitialize() is called to handle USB device initialization. it reads out the descriptors it needs from the USB device and uses that data to fill in some USB data structures. grubusbdeviceinitialize() performs very little bounds checking and simply assumes the USB device provides sane values. This behavior can trigger memory corruption. If properly exploited, this would lead to arbitrary code execution allowing the attacker to by-pass SecureBoot mechanism.
— Red Hat
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2020-25647?
CVE-2020-25647 is a vulnerability found in grub2 versions prior to 2.06 that allows an attacker to trigger memory corruption leading to arbitrary code execution.
How severe is CVE-2020-25647?
CVE-2020-25647 has a severity score of 7.6 (High).
Which software versions are affected by CVE-2020-25647?
Grub2 versions prior to 2.06, Redhat Enterprise Linux versions 7.0 to 8.0, and Fedora versions 33 and 34 are affected by CVE-2020-25647.
How can I fix CVE-2020-25647?
To fix CVE-2020-25647, update your system to grub2 version 2.06 or higher.
Where can I find more information about CVE-2020-25647?
You can find more information about CVE-2020-25647 in the references provided: [Reference 1](https://bugzilla.redhat.com/show_bug.cgi?id=1886936), [Reference 2](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZWZ36QK4IKU6MWDWNOOWKPH3WXZBHT2R/), [Reference 3](https://security.gentoo.org/glsa/202104-05).