Buffer overflow in GNU Grub2
CVE-2020-14311
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 UINT32_MAX causes an arithmetic overflow leading to a zero-sized memory allocation with subsequent heap-based buffer overflow.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.7 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 40.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNU Grub2
- The Grub2 Project — versions 2.06
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- openSUSE Leap — versions 15.1, 15.2
- Red Hat Enterprise Linux — versions 7.0, 8.0
- Red Hat Enterprise Linux Eus — versions 8.1, 8.2
- Red Hat Enterprise Linux Server Aus — versions 8.2
- Red Hat Enterprise Linux Server Tus — versions 8.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 27 other repositories (amzdev0401/shim-review-backup, ARPSyndicate/cvemon, baramundisoftware/ShimReview_2024, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- USN-4432-1 (vendor-advisory, Third Party Advisory)
- openSUSE-SU-2020:1169 (vendor-advisory, Mailing List, Third Party Advisory)
- openSUSE-SU-2020:1168 (vendor-advisory, Mailing List, Third Party Advisory)
- GLSA-202104-05 (vendor-advisory, Third Party Advisory)
- [oss-security] 20210916 Containers-optimized OS (COS) membership in the linux-distros list (mailing-list, Mailing List, Third Party Advisory)
- [oss-security] 20210917 Re: Containers-optimized OS (COS) membership in the linux-distros list (mailing-list, Mailing List, Third Party Advisory)
- [oss-security] 20210920 Re: Containers-optimized OS (COS) membership in the linux-distros list (mailing-list, Mailing List, Third Party Advisory)