Buffer overflow in GNU Grub2
CVE-2021-20225
A flaw was found in grub2 in versions prior to 2.06. The option parser allows an attacker to write past the end of a heap-allocated buffer by calling certain commands with a large number of specific short forms of options. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Vulnerability class: Buffer 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.010, 63.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNU Grub2
- NetApp Ontap Select Deploy Administration Utility
- Fedoraproject Fedora — versions 33, 34
- Red Hat Enterprise Linux — versions 7.0, 8.0
- Red Hat Enterprise Linux Server Aus — versions 7.2, 7.3, 7.4
- Red Hat Enterprise Linux Server Eus — versions 7.6, 7.7, 8.1
- Red Hat Enterprise Linux Server Tus — versions 7.4, 7.6, 7.7
- Red Hat Enterprise Linux Workstation — versions 7.0
- Grub2 — versions grub 2.06
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 25 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)
- FEDORA-2021-cab258a413 (vendor-advisory)
- GLSA-202104-05 (vendor-advisory, Third Party Advisory)
- security.netapp.com/advisory/ntap-20220325-0001/ (Third Party Advisory)