CVE-2020-14311: Buffer Overflow
A flaw was found in grub2 while handling symlink on ext filesystems. A filesystem containing a symbolic link with an inode size of UINT32MAX causes an arithmetic overflow, leading to a zero-sized memory allocation with a subsequent heap-based buffer overflow. The highest threat from this vulnerability is to integrity and system availability.
Other sources
Integer overflow in grubext2readlink triggered by a specially crafted ext4 filesystem containing a symlink inode with a size of UINT32MAX, which leads to a zero-sized allocation and subsequent heap buffer overflow with attacker controlled data.
— Red Hat
There is an issue with grub2 before version 2.06 while handling symlink on ext filesystems. A filesystem containing a symbolic link with an inode size of UINT32MAX causes an arithmetic overflow leading to a zero-sized memory allocation with subsequent heap-based buffer overflow.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/fwupdateto a version that resolves this vulnerability.Fixed in 0:12-6.el7_8 - Upgrade
Upgrade
redhat/grub2to a version that resolves this vulnerability.Fixed in 1:2.02-0.86.el7_8 - Upgrade
Upgrade
redhat/shimto a version that resolves this vulnerability.Fixed in 0:15-7.el7_9 - Upgrade
Upgrade
redhat/shim-signedto a version that resolves this vulnerability.Fixed in 0:15-7.el7_8 - Upgrade
Upgrade
redhat/grub2to a version that resolves this vulnerability.Fixed in 1:2.02-0.86.el7_2 - Upgrade
Upgrade
redhat/shimto a version that resolves this vulnerability.Fixed in 0:15-8.el7 - Upgrade
Upgrade
redhat/shim-signedto a version that resolves this vulnerability.Fixed in 0:15-8.el7_2 - Upgrade
Upgrade
redhat/grub2to a version that resolves this vulnerability.Fixed in 1:2.02-0.86.el7 - Upgrade
Upgrade
redhat/shim-signedto a version that resolves this vulnerability.Fixed in 0:15-8.el7_3 - Upgrade
Upgrade
redhat/fwupdateto a version that resolves this vulnerability.Fixed in 0:9-10.el7_4 - Upgrade
Upgrade
redhat/grub2to a version that resolves this vulnerability.Fixed in 1:2.02-0.86.el7_4 - Upgrade
Upgrade
redhat/shim-signedto a version that resolves this vulnerability.Fixed in 0:15-8.el7_4 - Upgrade
Upgrade
redhat/fwupdateto a version that resolves this vulnerability.Fixed in 0:12-6.el7_6 - Upgrade
Upgrade
redhat/grub2to a version that resolves this vulnerability.Fixed in 1:2.02-0.86.el7_6 - Upgrade
Upgrade
redhat/shim-signedto a version that resolves this vulnerability.Fixed in 0:15-8.el7_6 - Upgrade
Upgrade
redhat/fwupdateto a version that resolves this vulnerability.Fixed in 0:12-6.el7_7 - Upgrade
Upgrade
redhat/grub2to a version that resolves this vulnerability.Fixed in 1:2.02-0.86.el7_7 - Upgrade
Upgrade
redhat/shim-signedto a version that resolves this vulnerability.Fixed in 0:15-8.el7_7 - Upgrade
Upgrade
redhat/fwupdto a version that resolves this vulnerability.Fixed in 0:1.1.4-7.el8_2 - Upgrade
Upgrade
redhat/grub2to a version that resolves this vulnerability.Fixed in 1:2.02-87.el8_2 - Upgrade
Upgrade
redhat/shimto a version that resolves this vulnerability.Fixed in 0:15-14.el8_2 - Upgrade
Upgrade
redhat/shim-unsigned-x64to a version that resolves this vulnerability.Fixed in 0:15-7.el8 - Upgrade
Upgrade
redhat/fwupdto a version that resolves this vulnerability.Fixed in 0:1.1.4-2.el8_0 - Upgrade
Upgrade
redhat/grub2to a version that resolves this vulnerability.Fixed in 1:2.02-87.el8_0 - Upgrade
Upgrade
redhat/shimto a version that resolves this vulnerability.Fixed in 0:15-14.el8_0 - Upgrade
Upgrade
redhat/fwupdto a version that resolves this vulnerability.Fixed in 0:1.1.4-2.el8_1 - Upgrade
Upgrade
redhat/grub2to a version that resolves this vulnerability.Fixed in 1:2.02-87.el8_1 - Upgrade
Upgrade
redhat/shimto a version that resolves this vulnerability.Fixed in 0:15-14.el8_1 - Upgrade
Upgrade
redhat/grubto a version that resolves this vulnerability.Fixed in 2.06 - Upgrade
Upgrade
alpine/grubto a version that resolves this vulnerability.Fixed in 2.06-r0 - Upgrade
Upgrade
debian/grub2to a version that resolves this vulnerability.Fixed in 2.02+dfsg1-20+deb10u1Fixed in 2.04-9 - Upgrade
Upgrade
grub2to a version that resolves this vulnerability.Fixed in 2.06
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2020-14311?
CVE-2020-14311 is a vulnerability in grub2 that can lead to a heap-based buffer overflow.
How severe is CVE-2020-14311?
CVE-2020-14311 has a severity score of 5.7, which is considered medium.
Which software is affected by CVE-2020-14311?
grub2 versions before 2.06 and fwupdate versions 0:12-6.el7_8 are affected by CVE-2020-14311.
What is the remedy for CVE-2020-14311?
To fix CVE-2020-14311, update grub2 to version 2.06 or fwupdate to version 0:12-6.el7_8.
Where can I find more information about CVE-2020-14311?
You can find more information about CVE-2020-14311 at the following references: [link1](https://access.redhat.com/errata/RHSA-2020:3216), [link2](https://access.redhat.com/security/cve/cve-2020-14311), [link3](https://access.redhat.com/errata/RHSA-2020:3217)