Integer underflow in GNU GRUB
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-191 and the CVSS impact.
Summary
Integer underflow in grub_net_recv_ip4_packets; A malicious crafted IP packet can lead to an integer underflow in grub_net_recv_ip4_packets() function on rsm->total_len value. Under certain circumstances the total_len value may end up wrapping around to a small integer number which will be used in memory allocation. If the attack succeeds in such way, subsequent operations can write past the end of the buffer.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA GNU GRUB (GNU Project) Fixed in 2.06-3
Red Hat 7 advisories
- RHSA-2022:8900 Released 2022-12-08 · Red Hat rating Importantgrub2 security update
- Red Hat Enterprise Linux Client (v. 7) grub2-1:2.02-0.87.el7_9.11, grub2-common-1:2.02-0.87.el7_9.11, grub2-efi-ia32-1:2.02-0.87.el7_9.11 +8
- Red Hat Enterprise Linux Client Optional (v. 7) grub2-efi-aa64-modules-1:2.02-0.87.el7_9.11, grub2-efi-ia32-cdboot-1:2.02-0.87.el7_9.11, grub2-efi-x64-cdboot-1:2.02-0.87.el7_9.11 +3
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) grub2-efi-aa64-modules-1:2.02-0.87.el7_9.11, grub2-efi-ia32-cdboot-1:2.02-0.87.el7_9.11, grub2-efi-x64-cdboot-1:2.02-0.87.el7_9.11 +3
- Red Hat Enterprise Linux Server (v. 7) grub2-1:2.02-0.87.el7_9.11, grub2-common-1:2.02-0.87.el7_9.11, grub2-efi-ia32-1:2.02-0.87.el7_9.11 +12
- Red Hat Enterprise Linux Server Optional (v. 7) grub2-efi-aa64-modules-1:2.02-0.87.el7_9.11, grub2-efi-ia32-cdboot-1:2.02-0.87.el7_9.11, grub2-efi-ia32-modules-1:2.02-0.87.el7_9.11 +6
- Red Hat Enterprise Linux Workstation (v. 7) grub2-1:2.02-0.87.el7_9.11, grub2-common-1:2.02-0.87.el7_9.11, grub2-efi-ia32-1:2.02-0.87.el7_9.11 +8
- Red Hat Enterprise Linux Workstation Optional (v. 7) grub2-efi-aa64-modules-1:2.02-0.87.el7_9.11, grub2-efi-ia32-cdboot-1:2.02-0.87.el7_9.11, grub2-efi-x64-cdboot-1:2.02-0.87.el7_9.11 +3
- RHSA-2022:5678 Released 2022-07-21 · Red Hat rating ImportantRed Hat Virtualization security, bug fix, and enhancement update [ovirt-4.5.1]
- Red Hat Virtualization 4 Hypervisor for RHEL 8 redhat-virtualization-host-4.5.1-202207170705_8.6, redhat-virtualization-host-image-update-4.5.1-202207170705_8.6
- RHSA-2022:5100 Released 2022-06-16 · Red Hat rating Importantgrub2, mokutil, shim, and shim-unsigned-x64 security update
- Red Hat CodeReady Linux Builder EUS (v. 8.2) shim-unsigned-x64-15.6-1.el8
- Red Hat Enterprise Linux BaseOS EUS (v. 8.2) grub2-1:2.02-87.el8_2.10, grub2-common-1:2.02-87.el8_2.10, grub2-efi-aa64-1:2.02-87.el8_2.10 +20
Show 4 more Red Hat advisories
- RHSA-2022:5095 Released 2022-06-16 · Red Hat rating Importantgrub2, mokutil, shim, and shim-unsigned-x64 security update
- Red Hat Enterprise Linux BaseOS (v. 8) grub2-1:2.02-123.el8_6.8, grub2-common-1:2.02-123.el8_6.8, grub2-efi-aa64-1:2.02-123.el8_6.8 +20
- Red Hat Enterprise Linux CRB (v. 8) shim-unsigned-x64-15.6-1.el8
- RHSA-2022:5099 Released 2022-06-16 · Red Hat rating Importantgrub2, mokutil, shim, and shim-unsigned-x64 security update
- Red Hat CodeReady Linux Builder (v. 9) shim-unsigned-x64-15.6-1.el9
- Red Hat Enterprise Linux BaseOS (v. 9) grub2-1:2.06-27.el9_0.7, grub2-common-1:2.06-27.el9_0.7, grub2-efi-aa64-1:2.06-27.el9_0.7 +16
- RHSA-2022:5096 Released 2022-06-16 · Red Hat rating Importantgrub2, mokutil, shim, and shim-unsigned-x64 security update
- Red Hat Enterprise Linux BaseOS EUS (v.8.4) grub2-1:2.02-99.el8_4.9, grub2-common-1:2.02-99.el8_4.9, grub2-efi-aa64-1:2.02-99.el8_4.9 +20
- Red Hat Enterprise Linux CRB EUS (v.8.4) shim-unsigned-x64-15.6-1.el8
- RHSA-2022:5098 Released 2022-06-16 · Red Hat rating Importantgrub2, mokutil, and shim security update
- Red Hat Enterprise Linux BaseOS E4S (v. 8.1) grub2-1:2.02-87.el8_1.10, grub2-common-1:2.02-87.el8_1.10, grub2-efi-aa64-modules-1:2.02-87.el8_1.10 +17
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
GNU GRUB 2.06-3
4 records Highest priority Priority MEDIUM 1 MEDIUM, 3 LOW
Other records, highest priority first
- TI-2022-11368 Out-of-bounds write in GNU GRUBPriority LOW 37
- TI-2022-11370 Use after free in GNU GRUBPriority LOW 36
- TI-2022-11369 The GRUB2's shim_lock verifier allows non-kernel files to be loaded on shim-powered…Priority LOW 36
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2022:5095 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2022:5099 |
| Red Hat Enterprise Linux BaseOS E4S (v. 8.1) | Fixed | RHSA-2022:5098 |
| Red Hat Enterprise Linux BaseOS EUS (v. 8.2) | Fixed | RHSA-2022:5100 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.4) | Fixed | RHSA-2022:5096 |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2022:8900 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2022:8900 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2022:8900 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2022:8900 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2022:8900 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2022:8900 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2022:8900 |
| Red Hat Virtualization 4 Hypervisor for RHEL 8 | Fixed | RHSA-2022:5678 |
Not affected: 10 products
- RHEL 8-based RHEV-H for RHEV 4 (build requirements)
- Red Hat CodeReady Linux Builder (v. 9)
- Red Hat CodeReady Linux Builder EUS (v. 8.2)
- Red Hat Enterprise Linux BaseOS (v. 8)
- Red Hat Enterprise Linux BaseOS (v. 9)
- Red Hat Enterprise Linux BaseOS E4S (v. 8.1)
- Red Hat Enterprise Linux BaseOS EUS (v. 8.2)
- Red Hat Enterprise Linux BaseOS EUS (v.8.4)
- Red Hat Enterprise Linux CRB (v. 8)
- Red Hat Enterprise Linux CRB EUS (v.8.4)
Timeline
- 2026-10-02 Threatist record created from CVE-2022-28733
- 2026-10-03 Alias added: GHSA-2rxj-vwp2-v63v
References
More GNU Grub2 vulnerabilities
- TI-2023-04324 Grub2: out-of-bounds write at fs/ntfs.c may lead to unsigned code execution CVSS 3.1HIGH 7.8
- TI-2015-06891 Multiple integer underflows in Grub2 1.98 through 2.02 allow physically proximate… CVSS 3.1HIGH 7.4
- TI-2024-37620 Heap-based buffer overflow in GNU GRUB2 CVSS 3.1HIGH 8.8
- TI-2022-02403 Heap-based buffer overflow in grub2 CVSS 3.1HIGH 8.6
- TI-2020-08612 Buffer overflow in Grub CVSS 3.1HIGH 8.2
- TI-2020-15650 Use after free in grub2 CVSS 3.1HIGH 8.2
Sources
- CVE-2022-28733 · CVE Program
- CVE-2022-28733 · NVD
- FIRST EPSS
- GHSA-2rxj-vwp2-v63v · GitHub Advisory Database · CC BY 4.0
- CVE-2022-28733 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences