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
EPSS: 0.010 (59.5th percentile) — read the EPSS interpretation.
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.
Affected products
- Gnu Grub2
- Netapp Ontap_select_deploy_administration_utility
- Fedoraproject Fedora — versions 33, 34
- Redhat Enterprise_linux — versions 7.0, 8.0
- Redhat Enterprise_linux_server_aus — versions 7.2, 7.3, 7.4
- Redhat Enterprise_linux_server_eus — versions 7.6, 7.7, 8.1
- Redhat Enterprise_linux_server_tus — versions 7.4, 7.6, 7.7
- Redhat Enterprise_linux_workstation — versions 7.0
- N/a Grub2 — versions grub 2.06
Weakness classification (CWE)
Public proof-of-concept exploits
References
- secalert@redhat.com (Third Party Advisory, x_refsource_MISC, Issue Tracking)
- secalert@redhat.com (x_refsource_FEDORA, vendor-advisory)
- secalert@redhat.com (vendor-advisory, Third Party Advisory, x_refsource_GENTOO)
- secalert@redhat.com (x_refsource_CONFIRM, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-20225?
- CVE-2021-20225 is a medium-severity vulnerability in Gnu Grub2, classified under Out-of-bounds Write. CVSS score: 6.7/10. Published 2021-03-03.
- How severe is CVE-2021-20225?
- Medium severity. CVSS v3 base score is 6.7 out of 10.
- Is CVE-2021-20225 known to be exploited?
- 25 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.