CVE-2021-20233: A flaw was found in grub2 in versions prior to 2.06.
Noroxi assessment
Priority: Monitor (action score 32/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.60% (FIRST EPSS).
- Someone with local access to the system can trigger it. Administrator privileges are required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: shim-aa64 (AlmaLinux:8) 15.4-2.el8_1.alma; shim-ia32 (AlmaLinux:8) 15.4-2.el8_1.alma; shim-unsigned-aarch64 (AlmaLinux:8) 15-7.el8_1.alma.
- Mentioned 2 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to shim-aa64 (AlmaLinux:8) 15.4-2.el8_1.alma; shim-ia32 (AlmaLinux:8) 15.4-2.el8_1.alma; shim-unsigned-aarch64 (AlmaLinux:8) 15-7.el8_1.alma or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
A flaw was found in grub2 in versions prior to 2.06. Setparam_prefix() in the menu rendering code performs a length calculation on the assumption that expressing a quoted single quote will require 3 characters, while it actually requires 4 characters which allows an attacker to corrupt memory by one byte for each quote in the input. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
- BDU:2022-00304
- ALSA-2021:1734
- DSA-4867-1
- openSUSE-SU-2021:0462-1
- openSUSE-SU-2024:10824-1
- RHSA-2021:0696
- RHSA-2021:0697
- RHSA-2021:0698
- RHSA-2021:0699
- RHSA-2021:0700
- RHSA-2021:0701
- RHSA-2021:0702
- RHSA-2021:0703
- RHSA-2021:0704
- RHSA-2021:1734
- RHSA-2021:2566
- RHSA-2021:2790
- RHSA-2021:3675
- RLSA-2021:1734
- RLSA-2021:2566
- Published
- Mar 3, 2021
- Updated
- Jun 16, 2026
- EPSS
- 0.6% · 48th percentile
- CWE
- CWE-787
Report tools
Action score
32
Monitor
Low priority for now.
- CVSS
- 32 / 40 · 8.2 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.6%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| gnu | grub2 | cpe:2.3:a:gnu:grub2 |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
| redhat | enterprise linux server eus | cpe:2.3:o:redhat:enterprise_linux_server_eus |
| redhat | enterprise linux server tus | cpe:2.3:o:redhat:enterprise_linux_server_tus |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| netapp | ontap select deploy administration utility | cpe:2.3:a:netapp:ontap_select_deploy_administration_utility |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- fedoraproject fedora33
- fedoraproject fedora34
- gnu grub2before 2.06
- netapp ontap select deploy administration utilityall versions
- redhat enterprise linux7.0
- redhat enterprise linux8.0
- redhat enterprise linux server aus7.2
- redhat enterprise linux server aus7.3
- redhat enterprise linux server aus7.4
- redhat enterprise linux server aus7.6
- redhat enterprise linux server aus7.7
- redhat enterprise linux server aus8.2
- redhat enterprise linux server eus7.6
- redhat enterprise linux server eus7.7
- redhat enterprise linux server eus8.1
- redhat enterprise linux server tus7.4
- redhat enterprise linux server tus7.6
- redhat enterprise linux server tus7.7
- redhat enterprise linux server tus8.2
- redhat enterprise linux workstation7.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
n/a grub2
- grub 2.06affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | shim-aa64 | before 15.4-2.el8_1.alma | 15.4-2.el8_1.alma |
| AlmaLinux:8 | shim-ia32 | before 15.4-2.el8_1.alma | 15.4-2.el8_1.alma |
| AlmaLinux:8 | shim-unsigned-aarch64 | before 15-7.el8_1.alma | 15-7.el8_1.alma |
| AlmaLinux:8 | shim-unsigned-x64 | before 15.4-4.el8_1.alma | 15.4-4.el8_1.alma |
| AlmaLinux:8 | shim-x64 | before 15.4-2.el8_1.alma | 15.4-2.el8_1.alma |
| Alpine:v3.17 | grub | before 2.06-r0 | 2.06-r0 |
| Debian:10 | grub2 | before 2.02+dfsg1-20+deb10u4 | 2.02+dfsg1-20+deb10u4 |
| Debian:12 | grub2 | before 2.04-16 | 2.04-16 |
| openSUSE:Leap 15.2 | grub2 | before 2.04-lp152.7.22.7 | 2.04-lp152.7.22.7 |
| openSUSE:Tumbleweed | grub2 | before 2.06-7.1 | 2.06-7.1 |
| Red Hat:enterprise_linux:7::client | grub2 | before 1:2.02-0.87.el7_9.2 | 1:2.02-0.87.el7_9.2 |
| Red Hat:enterprise_linux:7::client | grub2-common | before 1:2.02-0.87.el7_9.2 | 1:2.02-0.87.el7_9.2 |
| Red Hat:enterprise_linux:7::client | grub2-debuginfo | before 1:2.02-0.87.el7_9.2 | 1:2.02-0.87.el7_9.2 |
| Red Hat:enterprise_linux:7::client | grub2-efi-aa64-modules | before 1:2.02-0.87.el7_9.2 | 1:2.02-0.87.el7_9.2 |
| Red Hat:enterprise_linux:7::client | grub2-efi-ia32 | before 1:2.02-0.87.el7_9.2 | 1:2.02-0.87.el7_9.2 |
| Red Hat:enterprise_linux:7::client | grub2-efi-ia32-cdboot | before 1:2.02-0.87.el7_9.2 | 1:2.02-0.87.el7_9.2 |
| Red Hat:enterprise_linux:7::client | grub2-efi-ia32-modules | before 1:2.02-0.87.el7_9.2 | 1:2.02-0.87.el7_9.2 |
| Red Hat:enterprise_linux:7::client | grub2-efi-x64 | before 1:2.02-0.87.el7_9.2 | 1:2.02-0.87.el7_9.2 |
| Red Hat:enterprise_linux:7::client | grub2-efi-x64-cdboot | before 1:2.02-0.87.el7_9.2 | 1:2.02-0.87.el7_9.2 |
| Red Hat:enterprise_linux:7::client | grub2-efi-x64-modules | before 1:2.02-0.87.el7_9.2 | 1:2.02-0.87.el7_9.2 |
| Red Hat:enterprise_linux:7::client | grub2-pc | before 1:2.02-0.87.el7_9.2 | 1:2.02-0.87.el7_9.2 |
| Red Hat:enterprise_linux:7::client | grub2-pc-modules | before 1:2.02-0.87.el7_9.2 | 1:2.02-0.87.el7_9.2 |
| Red Hat:enterprise_linux:7::client | grub2-ppc-modules | before 1:2.02-0.87.el7_9.2 | 1:2.02-0.87.el7_9.2 |
| Red Hat:enterprise_linux:7::client | grub2-ppc64-modules | before 1:2.02-0.87.el7_9.2 | 1:2.02-0.87.el7_9.2 |
+96
Same product
gnu: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-56737GNU GRUB (aka GRUB2) through 2.12 has a heap-based buffer overflow in fs/hfs.c via crafted sblock data in an HFS filesystem.35Monitor
- CVE-2022-2601A buffer overflow was found in grub_font_construct_glyph().34Monitor
- CVE-2020-10713A flaw was found in grub2, prior to version 2.06.33Monitor
Published before and after this one in the same product
- ← EarlierCVE-2020-27779Mar 3, 2021 · A flaw was found in grub2 in versions prior to 2.06.30Monitor
- ← EarlierCVE-2021-20225Mar 3, 2021 · A flaw was found in grub2 in versions prior to 2.06.26Monitor
- Later →CVE-2021-3418Mar 15, 2021 · If certificates that signed grub are installed into db, grub can be booted directly.25Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:shim-aa64 | 15.4-2.el8_1.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:shim-ia32 | 15.4-2.el8_1.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:shim-unsigned-aarch64 | 15-7.el8_1.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:shim-unsigned-x64 | 15.4-4.el8_1.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:shim-x64 | 15.4-2.el8_1.alma · AlmaLinux:8 | Package registry (OSV) |
| alpine:grub | 2.06-r0 · Alpine:v3.17 | Package registry (OSV) |
| debian:grub2 | 2.04-16 · Debian:12 | Package registry (OSV) |
| opensuse:grub2 | 2.04-lp152.7.22.7 · openSUSE:Leap 15.2 | Package registry (OSV) |
| red hat:grub2 | 1:2.02-90.el8_3.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:grub2-common | 1:2.02-90.el8_3.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:grub2-debuginfo | 1:2.02-90.el8_3.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:grub2-debugsource | 1:2.02-90.el8_3.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:grub2-efi-aa64 | 1:2.02-90.el8_3.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:grub2-efi-aa64-cdboot | 1:2.02-90.el8_3.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:grub2-efi-aa64-modules | 1:2.02-90.el8_3.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:grub2-efi-ia32 | 1:2.02-90.el8_3.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:grub2-efi-ia32-cdboot | 1:2.02-90.el8_3.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:grub2-efi-ia32-modules | 1:2.02-90.el8_3.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:grub2-efi-x64 | 1:2.02-90.el8_3.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| red hat:grub2-efi-x64-cdboot | 1:2.02-90.el8_3.1 · Red Hat:enterprise_linux:8::baseos | Package registry (OSV) |
| rocky linux:fwupd | 0:1.5.9-1.el8_4 · Rocky Linux:8 | Package registry (OSV) |
| rocky linux:shim-unsigned-aarch64 | 0:15-7.el8.1.1 · Rocky Linux:8 | Package registry (OSV) |
| suse:grub2 | 2.02-115.59.1 · SUSE:OpenStack Cloud 7 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:0 | 2022-07-19 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+502 d
- TodayOct 26, 2026+2063 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-21-0964 · Dec 3, 2021(Hitachi Güvenlik Zafiyeti)
- TR-21-0788 · Sep 30, 2021(RedHat Güvenlik Güncellemesi)
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- Administrator privileges are required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
Impact can extend beyond the vulnerable component (scope changes).
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- High
- User interaction
- None
- Scope
- Changed
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (3 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.