CVE-2022-28733 json
Integer underflow in grub_net_recv_ip4_packets
published 2023-07-20 3 y ago modified 2026-06-17 4 mo ago also EUVD-2022-33172
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
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.
Patch / fix
- GNU Project GNU GRUB 2.06-3
- grub2 Debian 14, Debian 13, Debian 12 2.06-3
debian advisories DEBIAN-CVE-2022-28733
- grub2-signed Ubuntu 18.04 LTS 1.187.3~18.04.1
- grub2-signed Ubuntu 20.04 LTS 1.187.3~20.04.1
- grub2-signed Ubuntu 22.04 LTS 1.187.3~22.04.1
- grub2-unsigned Ubuntu 22.04 LTS, Ubuntu 20.04 LTS, Ubuntu 18.04 LTS 2.06-2ubuntu14.1
ubuntu advisories UBUNTU-CVE-2022-28733
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- grub2 RHEL 7 1:2.02-0.87.el7_9.11
- grub2-pc RHEL 7 1:2.02-0.87.el7_9.11
- grub2-ppc64 RHEL 7 1:2.02-0.87.el7_9.11
- grub2-tools RHEL 7 1:2.02-0.87.el7_9.11
- grub2-common RHEL 7 1:2.02-0.87.el7_9.11
- grub2-efi-x64 RHEL 7 1:2.02-0.87.el7_9.11
- grub2-ppc64le RHEL 7 1:2.02-0.87.el7_9.11
- grub2-efi-ia32 RHEL 7 1:2.02-0.87.el7_9.11
red hat advisories RHSA-2022:8900RHSA-2022:5678RHSA-2022:5099RHSA-2022:5100RHSA-2022:5095RHSA-2022:5096
- grub2 SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +6 more 2.04-150200.9.63.2
- grub2 SLE Micro 5.1 2.04-150300.3.5.1
- grub2 SLE Module for Server Applications 15 SP3, SLE Module for Basesystem 15 SP3, SLE Micro 5.2 +2 more 2.04-150300.22.20.2
- grub2 SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLES 15 SP1-BCL +3 more 2.02-150100.123.12.2
- grub2 SLES 12 SP2-BCL 2.02-115.67.2
- grub2 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +3 more 2.02-143.2
- grub2 SLES for SAP 12 SP3, SLES 12 SP3-LTSS, SLES 12 SP3-BCL +3 more 2.02-137.2
- grub2 SLES for SAP 15, SLES 15-LTSS, SLE High Performance Computing 15-LTSS +1 more 2.02-150000.122.12.2
suse advisories SUSE-SU-2022:2074-1SUSE-SU-2022:2073-1SUSE-SU-2022:2064-1SUSE-SU-2022:2041-1SUSE-SU-2022:2039-1SUSE-SU-2022:2038-1
- grub2 openSUSE Tumbleweed 2.06-25.1
opensuse advisories openSUSE-SU-2024:12137-1
- shim-unsigned-x64 AlmaLinux 8 15.6-1.el8.alma
- grub2-pc AlmaLinux 8 1:2.02-123.el8_6.8.alma
- shim-x64 AlmaLinux 8 15.6-1.el8.alma
- shim-aa64 AlmaLinux 8 15.6-1.el8.alma
- shim-ia32 AlmaLinux 8 15.6-1.el8.alma
- grub2-tools AlmaLinux 8 1:2.02-123.el8_6.8.alma
- grub2-common AlmaLinux 8 1:2.02-123.el8_6.8.alma
- grub2-efi-x64 AlmaLinux 8 1:2.02-123.el8_6.8.alma
almalinux advisories ALSA-2022:5095ALSA-2022:5099
- shim Rocky Linux 9 15.6-1.el9
- shim Rocky Linux 9 15.6-1.el9.rocky.0.1
- mokutil Rocky Linux 9 2:0.4.0-8.el9_0.1
- shim-unsigned-x64 Rocky Linux 8 15.6-1.el8
- shim Rocky Linux 8 15.6-1.el8
- grub2 Rocky Linux 8 1:2.02-123.el8_6.8
- mokutil Rocky Linux 8 1:0.3.0-11.el8_6.1
rocky linux advisories RLSA-2022:5099RLSA-2022:5095
- grub2 CBL-Mariner 2.0 2.06-12
- grub2 Azure Linux 3.0 2.06-14
azure linux advisories AZL-27553AZL-34788
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-28733 updated cvss 8.1
grub2: Integer underflow in grub_net_recv_ip4_packets
-
Red Hat Enterprise Linux BaseOS (v. 8) grub2 2.02-123.el8_6.8, grub2-pc 2.02-123.el8_6.8, grub2-tools 2.02-123.el8_6.8, grub2-common 2.02-123.el8_6.8, grub2-efi-x64 2.02-123.el8_6.8, grub2-ppc64le 2.02-123.el8_6.8, +13 morefixed: vendor fix RHSA-2022:5095
-
Red Hat Enterprise Linux BaseOS (v. 9) grub2 2.06-27.el9_0.7, grub2-pc 2.06-27.el9_0.7, grub2-tools 2.06-27.el9_0.7, grub2-common 2.06-27.el9_0.7, grub2-efi-x64 2.06-27.el9_0.7, grub2-ppc64le 2.06-27.el9_0.7, +10 morefixed: vendor fix RHSA-2022:5099
-
Red Hat Enterprise Linux BaseOS E4S (v. 8.1) grub2 2.02-87.el8_1.10, grub2-pc 2.02-87.el8_1.10, grub2-tools 2.02-87.el8_1.10, grub2-common 2.02-87.el8_1.10, grub2-efi-x64 2.02-87.el8_1.10, grub2-ppc64le 2.02-87.el8_1.10, +11 morefixed: vendor fix RHSA-2022:5098
-
Red Hat Enterprise Linux BaseOS EUS (v. 8.2) grub2 2.02-87.el8_2.10, grub2-pc 2.02-87.el8_2.10, grub2-tools 2.02-87.el8_2.10, grub2-common 2.02-87.el8_2.10, grub2-efi-x64 2.02-87.el8_2.10, grub2-ppc64le 2.02-87.el8_2.10, +13 morefixed: vendor fix RHSA-2022:5100
-
Red Hat Enterprise Linux BaseOS EUS (v.8.4) grub2 2.02-99.el8_4.9, grub2-pc 2.02-99.el8_4.9, grub2-tools 2.02-99.el8_4.9, grub2-common 2.02-99.el8_4.9, grub2-efi-x64 2.02-99.el8_4.9, grub2-ppc64le 2.02-99.el8_4.9, +13 morefixed: vendor fix RHSA-2022:5096
-
Red Hat Enterprise Linux Client (v. 7) grub2 2.02-0.87.el7_9.11, grub2-pc 2.02-0.87.el7_9.11, grub2-ppc64 2.02-0.87.el7_9.11, grub2-tools 2.02-0.87.el7_9.11, grub2-common 2.02-0.87.el7_9.11, grub2-efi-x64 2.02-0.87.el7_9.11, +13 more Red Hat Enterprise Linux Client Optional (v. 7) grub2 2.02-0.87.el7_9.11, grub2-pc 2.02-0.87.el7_9.11, grub2-ppc64 2.02-0.87.el7_9.11, grub2-tools 2.02-0.87.el7_9.11, grub2-common 2.02-0.87.el7_9.11, grub2-efi-x64 2.02-0.87.el7_9.11, +13 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) grub2 2.02-0.87.el7_9.11, grub2-pc 2.02-0.87.el7_9.11, grub2-ppc64 2.02-0.87.el7_9.11, grub2-tools 2.02-0.87.el7_9.11, grub2-common 2.02-0.87.el7_9.11, grub2-efi-x64 2.02-0.87.el7_9.11, +13 more Red Hat Enterprise Linux Server (v. 7) grub2 2.02-0.87.el7_9.11, grub2-pc 2.02-0.87.el7_9.11, grub2-ppc64 2.02-0.87.el7_9.11, grub2-tools 2.02-0.87.el7_9.11, grub2-common 2.02-0.87.el7_9.11, grub2-efi-x64 2.02-0.87.el7_9.11, +13 more Red Hat Enterprise Linux Server Optional (v. 7) grub2 2.02-0.87.el7_9.11, grub2-pc 2.02-0.87.el7_9.11, grub2-ppc64 2.02-0.87.el7_9.11, grub2-tools 2.02-0.87.el7_9.11, grub2-common 2.02-0.87.el7_9.11, grub2-efi-x64 2.02-0.87.el7_9.11, +13 more Red Hat Enterprise Linux Workstation (v. 7) grub2 2.02-0.87.el7_9.11, grub2-pc 2.02-0.87.el7_9.11, grub2-ppc64 2.02-0.87.el7_9.11, grub2-tools 2.02-0.87.el7_9.11, grub2-common 2.02-0.87.el7_9.11, grub2-efi-x64 2.02-0.87.el7_9.11, +13 morefixed: vendor fix RHSA-2022:8900
+1 more productsfewer
Red Hat Enterprise Linux Workstation Optional (v. 7) grub2 2.02-0.87.el7_9.11, grub2-pc 2.02-0.87.el7_9.11, grub2-ppc64 2.02-0.87.el7_9.11, grub2-tools 2.02-0.87.el7_9.11, grub2-common 2.02-0.87.el7_9.11, grub2-efi-x64 2.02-0.87.el7_9.11, +13 more -
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.6fixed: vendor fix RHSA-2022:5678
-
Red Hat CodeReady Linux Builder (v. 9) shim-unsigned-x64 15.6-1.el9 Red Hat CodeReady Linux Builder EUS (v. 8.2) shim-unsigned-x64 15.6-1.el8 Red Hat Enterprise Linux BaseOS (v. 8) shim 15.6-1.el8, shim-x64 15.6-1.el8, shim-aa64 15.6-1.el8, shim-ia32 15.6-1.el8, mokutil 0.3.0-11.el8_6.1 Red Hat Enterprise Linux BaseOS (v. 9) shim 15.6-1.el9, shim-x64 15.6-1.el9, shim-aa64 15.6-1.el9, mokutil 0.4.0-8.el9_0.1 Red Hat Enterprise Linux BaseOS E4S (v. 8.1) shim 15.6-1.el8, shim-x64 15.6-1.el8, shim-ia32 15.6-1.el8, mokutil 0.3.0-9.el8_1.1 Red Hat Enterprise Linux BaseOS EUS (v. 8.2) shim 15.6-1.el8, shim-x64 15.6-1.el8, shim-aa64 15.6-1.el8, shim-ia32 15.6-1.el8, mokutil 0.3.0-9.el8_2.2not affected: vulnerable code not present
+4 more productsfewer
Red Hat Enterprise Linux BaseOS EUS (v.8.4) shim 15.6-1.el8, shim-x64 15.6-1.el8, shim-aa64 15.6-1.el8, shim-ia32 15.6-1.el8, mokutil 0.3.0-11.el8_4.1 Red Hat Enterprise Linux CRB (v. 8) shim-unsigned-x64 15.6-1.el8 Red Hat Enterprise Linux CRB EUS (v.8.4) shim-unsigned-x64 15.6-1.el8 Red Hat RHEL 8-based RHEV-H for RHEV 4 (build requirements) redhat-release-virtualization-host 4.5.1-1.el8ev, redhat-virtualization-host-productimg 4.5.1-1.el8, redhat-release-virtualization-host-content 4.5.1-1.el8ev, redhat-virtualization-host-image-update-placeholder 4.5.1-1.el8ev
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
1.27% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected products
- GNU Project GNU GRUB
Classification
- Weakness
-
- CWE-191 Integer Underflow (Wrap or Wraparound)
References
-
openwall.com
/lists/oss-security/2022/06/07/5
mailing-list, third-party-advisory
-
cve.mitre.org
/cgi-bin/cvename.cgi?name=CVE-2022-28733
issue-tracking, third-party-advisory
- security.netapp.com /advisory/ntap-20230825-0002/
Sources
- CVE List CVE-2022-28733
- NVD CVE-2022-28733
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.