CVE-2021-20225 in Fedoraproject Fedora and 7 more products
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...
Affects 8 products from 4 vendors. Facts below cite their sources.
Requires local access, low complexity, high privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fedoraproject | Fedora | 33 34 |
| Gnu | Grub2 | < 2.06 |
| Netapp | Ontap Select Deploy Administration Utility | No version listed by the source |
| Redhat | Enterprise Linux Server Eus | 7.6 7.7 8.1 |
| Redhat | Enterprise Linux | 7.0 8.0 |
| Redhat | Enterprise Linux Server Tus | 7.4 7.6 7.7 8.2 |
| Redhat | Enterprise Linux Workstation | 7.0 |
| Redhat | Enterprise Linux Server Aus | 7.2 7.3 7.4 7.6 7.7 8.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-20225 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-081089-M |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-03-03 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2021. A medium severity vulnerability affects Fedoraproject systems (CVE-2021-20225). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
Questions
What is CVE-2021-20225?
This vulnerability was disclosed in 2021. A medium severity vulnerability affects Fedoraproject systems (CVE-2021-20225). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2021-20225?
CVE-2021-20225 has CVSS 6.7 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.0%.
Is CVE-2021-20225 actively exploited?
No confirmed active exploitation of CVE-2021-20225 as of 2026-05-30.
How do I remediate CVE-2021-20225?
Priority: MONITOR. Advisory: https://bugzilla.redhat.com/show_bug.cgi?id=1924696
What systems are affected by CVE-2021-20225?
CVE-2021-20225 affects Fedoraproject Fedora; Gnu Grub2; Netapp Ontap Select Deploy Administration Utility; Redhat Enterprise Linux Server Eus, Enterprise Linux, Enterprise Linux Server Tus, Enterprise Linux Workstation, Enterprise Linux Server Aus.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Fedoraproject","product":"Fedora","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.