Buffer overflow in GNU Grub2
CVE-2020-14309
There's an issue with grub2 in all versions before 2.06 when handling squashfs filesystems containing a symbolic link with name length of UINT32 bytes in size. The name size leads to an arithmetic overflow leading to a zero-size allocation further causing a heap-based buffer overflow with attacker controlled data.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.7 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 42.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNU Grub2
- openSUSE Leap — versions 15.1, 15.2
- Grub — versions All grub2 versions before 2.06
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 26 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)
- security.netapp.com/advisory/ntap-20200731-0008/ (Third Party Advisory)
- 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)