CVEfocus › CVE database › CVE-2022-28733

CVE-2022-28733Integer underflow in grub_net_recv_ip4_packets

CVSS 8.1 HighEPSS 1.3% (higher than 71% of CVEs)Published 2023-07-20Updated 2025-02-13Assigner: canonical

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.

CWE-191

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

117Fixed
4Fix pending
11Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04grub2Not affected
vulnerable_code_not_present
Ubuntu 26.04grub2-signedNot affected
vulnerable_code_not_present
Ubuntu 26.04grub2-unsignedNot affected
vulnerable_code_not_present
Ubuntu 25.10grub2Not affected
vulnerable_code_not_present
Ubuntu 25.10grub2-signedNot affected
vulnerable_code_not_present
Ubuntu 25.10grub2-unsignedNot affected
vulnerable_code_not_present
Ubuntu 24.04grub2Not affected
vulnerable_code_not_present
Ubuntu 24.04grub2-signedNot affected
vulnerable_code_not_present
Ubuntu 24.04grub2-unsignedNot affected
vulnerable_code_not_present
Ubuntu 22.04grub2Not affected
vulnerable_code_not_present
Ubuntu 22.04grub2-signedFixed1.187.3~22.04.1UBUNTU-CVE-2022-28733
Ubuntu 22.04grub2-unsignedFixed2.06-2ubuntu14.1UBUNTU-CVE-2022-28733
Ubuntu 20.04grub2Not affected
vulnerable_code_not_present
Ubuntu 20.04grub2-signedFixed1.187.3~20.04.1UBUNTU-CVE-2022-28733
Ubuntu 20.04grub2-unsignedFixed2.06-2ubuntu14.1UBUNTU-CVE-2022-28733
Ubuntu 18.04grub2Fix pending
Ubuntu 18.04grub2-signedFixed1.187.3~18.04.1UBUNTU-CVE-2022-28733
Ubuntu 18.04grub2-unsignedFixed2.06-2ubuntu14.1UBUNTU-CVE-2022-28733
Ubuntu 16.04grub2-signedFix pendingUBUNTU-CVE-2022-28733
Ubuntu 16.04grub2-unsignedFix pendingUBUNTU-CVE-2022-28733
Ubuntu 14.04grub2-signedFix pendingUBUNTU-CVE-2022-28733
Debian 14grub2Fixed2.06-3DEBIAN-CVE-2022-28733
Debian 13grub2Fixed2.06-3DEBIAN-CVE-2022-28733
Debian 12grub2Fixed2.06-3DEBIAN-CVE-2022-28733
Red Hat Enterprise Linux 9grub2Fixed1:2.06-27.el9_0.7RHSA-2022:5099
Red Hat Enterprise Linux 9grub2-commonFixed1:2.06-27.el9_0.7RHSA-2022:5099
Red Hat Enterprise Linux 9grub2-efi-aa64Fixed1:2.06-27.el9_0.7RHSA-2022:5099
Red Hat Enterprise Linux 9grub2-efi-aa64-cdbootFixed1:2.06-27.el9_0.7RHSA-2022:5099
Red Hat Enterprise Linux 9grub2-efi-aa64-modulesFixed1:2.06-27.el9_0.7RHSA-2022:5099
Red Hat Enterprise Linux 9grub2-efi-x64Fixed1:2.06-27.el9_0.7RHSA-2022:5099
Red Hat Enterprise Linux 9grub2-efi-x64-cdbootFixed1:2.06-27.el9_0.7RHSA-2022:5099
Red Hat Enterprise Linux 9grub2-efi-x64-modulesFixed1:2.06-27.el9_0.7RHSA-2022:5099
Red Hat Enterprise Linux 9grub2-pcFixed1:2.06-27.el9_0.7RHSA-2022:5099
Red Hat Enterprise Linux 9grub2-pc-modulesFixed1:2.06-27.el9_0.7RHSA-2022:5099
Red Hat Enterprise Linux 9grub2-ppc64leFixed1:2.06-27.el9_0.7RHSA-2022:5099
Red Hat Enterprise Linux 9grub2-ppc64le-modulesFixed1:2.06-27.el9_0.7RHSA-2022:5099
Red Hat Enterprise Linux 9grub2-toolsFixed1:2.06-27.el9_0.7RHSA-2022:5099
Red Hat Enterprise Linux 9grub2-tools-efiFixed1:2.06-27.el9_0.7RHSA-2022:5099
Red Hat Enterprise Linux 9grub2-tools-extraFixed1:2.06-27.el9_0.7RHSA-2022:5099
Red Hat Enterprise Linux 9grub2-tools-minimalFixed1:2.06-27.el9_0.7RHSA-2022:5099
Red Hat Enterprise Linux 9shimFixed0:15.6-1.el9RHSA-2022:5099
Red Hat Enterprise Linux 9shim-aa64Fixed0:15.6-1.el9RHSA-2022:5099
Red Hat Enterprise Linux 9shim-unsigned-x64Fixed0:15.6-1.el9RHSA-2022:5099
Red Hat Enterprise Linux 9shim-x64Fixed0:15.6-1.el9RHSA-2022:5099
Red Hat Enterprise Linux 8grub2Fixed1:2.02-123.el8_6.8RHSA-2022:5095
Red Hat Enterprise Linux 8grub2-commonFixed1:2.02-123.el8_6.8RHSA-2022:5095
Red Hat Enterprise Linux 8grub2-efi-aa64Fixed1:2.02-123.el8_6.8RHSA-2022:5095
Red Hat Enterprise Linux 8grub2-efi-aa64-cdbootFixed1:2.02-123.el8_6.8RHSA-2022:5095
Red Hat Enterprise Linux 8grub2-efi-aa64-modulesFixed1:2.02-123.el8_6.8RHSA-2022:5095
Red Hat Enterprise Linux 8grub2-efi-ia32Fixed1:2.02-123.el8_6.8RHSA-2022:5095
Red Hat Enterprise Linux 8grub2-efi-ia32-cdbootFixed1:2.02-123.el8_6.8RHSA-2022:5095
Red Hat Enterprise Linux 8grub2-efi-ia32-modulesFixed1:2.02-123.el8_6.8RHSA-2022:5095
Red Hat Enterprise Linux 8grub2-efi-x64Fixed1:2.02-123.el8_6.8RHSA-2022:5095
Red Hat Enterprise Linux 8grub2-efi-x64-cdbootFixed1:2.02-123.el8_6.8RHSA-2022:5095
Red Hat Enterprise Linux 8grub2-efi-x64-modulesFixed1:2.02-123.el8_6.8RHSA-2022:5095
Red Hat Enterprise Linux 8grub2-pcFixed1:2.02-123.el8_6.8RHSA-2022:5095
Red Hat Enterprise Linux 8grub2-pc-modulesFixed1:2.02-123.el8_6.8RHSA-2022:5095
Red Hat Enterprise Linux 8grub2-ppc64leFixed1:2.02-123.el8_6.8RHSA-2022:5095
Red Hat Enterprise Linux 8grub2-ppc64le-modulesFixed1:2.02-123.el8_6.8RHSA-2022:5095
Red Hat Enterprise Linux 8grub2-toolsFixed1:2.02-123.el8_6.8RHSA-2022:5095
Red Hat Enterprise Linux 8grub2-tools-efiFixed1:2.02-123.el8_6.8RHSA-2022:5095
Red Hat Enterprise Linux 8grub2-tools-extraFixed1:2.02-123.el8_6.8RHSA-2022:5095
Red Hat Enterprise Linux 8grub2-tools-minimalFixed1:2.02-123.el8_6.8RHSA-2022:5095
Red Hat Enterprise Linux 8shimFixed0:15.6-1.el8RHSA-2022:5095
Red Hat Enterprise Linux 8shim-aa64Fixed0:15.6-1.el8RHSA-2022:5095
Red Hat Enterprise Linux 8shim-ia32Fixed0:15.6-1.el8RHSA-2022:5095
Red Hat Enterprise Linux 8shim-unsigned-x64Fixed0:15.6-1.el8RHSA-2022:5095
Red Hat Enterprise Linux 8shim-x64Fixed0:15.6-1.el8RHSA-2022:5095
Red Hat Enterprise Linux 7grub2Fixed1:2.02-0.87.el7_9.11RHSA-2022:8900
Red Hat Enterprise Linux 7grub2-commonFixed1:2.02-0.87.el7_9.11RHSA-2022:8900
Red Hat Enterprise Linux 7grub2-efi-aa64-modulesFixed1:2.02-0.87.el7_9.11RHSA-2022:8900
Red Hat Enterprise Linux 7grub2-efi-ia32Fixed1:2.02-0.87.el7_9.11RHSA-2022:8900
Red Hat Enterprise Linux 7grub2-efi-ia32-cdbootFixed1:2.02-0.87.el7_9.11RHSA-2022:8900
Red Hat Enterprise Linux 7grub2-efi-ia32-modulesFixed1:2.02-0.87.el7_9.11RHSA-2022:8900
Red Hat Enterprise Linux 7grub2-efi-x64Fixed1:2.02-0.87.el7_9.11RHSA-2022:8900
Red Hat Enterprise Linux 7grub2-efi-x64-cdbootFixed1:2.02-0.87.el7_9.11RHSA-2022:8900
Red Hat Enterprise Linux 7grub2-efi-x64-modulesFixed1:2.02-0.87.el7_9.11RHSA-2022:8900
Red Hat Enterprise Linux 7grub2-pcFixed1:2.02-0.87.el7_9.11RHSA-2022:8900
Red Hat Enterprise Linux 7grub2-pc-modulesFixed1:2.02-0.87.el7_9.11RHSA-2022:8900
Red Hat Enterprise Linux 7grub2-ppc-modulesFixed1:2.02-0.87.el7_9.11RHSA-2022:8900
Red Hat Enterprise Linux 7grub2-ppc64Fixed1:2.02-0.87.el7_9.11RHSA-2022:8900
Red Hat Enterprise Linux 7grub2-ppc64-modulesFixed1:2.02-0.87.el7_9.11RHSA-2022:8900
Red Hat Enterprise Linux 7grub2-ppc64leFixed1:2.02-0.87.el7_9.11RHSA-2022:8900
Red Hat Enterprise Linux 7grub2-ppc64le-modulesFixed1:2.02-0.87.el7_9.11RHSA-2022:8900
Red Hat Enterprise Linux 7grub2-toolsFixed1:2.02-0.87.el7_9.11RHSA-2022:8900
Red Hat Enterprise Linux 7grub2-tools-extraFixed1:2.02-0.87.el7_9.11RHSA-2022:8900
Red Hat Enterprise Linux 7grub2-tools-minimalFixed1:2.02-0.87.el7_9.11RHSA-2022:8900
AlmaLinux 9grub2-commonFixed1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux 9grub2-efi-aa64Fixed1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux 9grub2-efi-aa64-cdbootFixed1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux 9grub2-efi-aa64-modulesFixed1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux 9grub2-efi-x64Fixed1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux 9grub2-efi-x64-cdbootFixed1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux 9grub2-efi-x64-modulesFixed1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux 9grub2-pcFixed1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux 9grub2-pc-modulesFixed1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux 9grub2-ppc64leFixed1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux 9grub2-ppc64le-modulesFixed1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux 9grub2-toolsFixed1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux 9grub2-tools-efiFixed1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux 9grub2-tools-extraFixed1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux 9grub2-tools-minimalFixed1:2.06-27.el9_0.7.almaALSA-2022:5099
AlmaLinux 9shim-aa64Fixed15.6-1.el9.almaALSA-2022:5099
AlmaLinux 9shim-unsigned-x64Fixed15.6-1.el9.almaALSA-2022:5099
AlmaLinux 9shim-x64Fixed15.6-1.el9.almaALSA-2022:5099
AlmaLinux 8grub2-commonFixed1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux 8grub2-efi-aa64Fixed1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux 8grub2-efi-aa64-cdbootFixed1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux 8grub2-efi-aa64-modulesFixed1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux 8grub2-efi-ia32Fixed1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux 8grub2-efi-ia32-cdbootFixed1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux 8grub2-efi-ia32-modulesFixed1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux 8grub2-efi-x64Fixed1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux 8grub2-efi-x64-cdbootFixed1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux 8grub2-efi-x64-modulesFixed1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux 8grub2-pcFixed1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux 8grub2-pc-modulesFixed1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux 8grub2-ppc64le-modulesFixed1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux 8grub2-toolsFixed1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux 8grub2-tools-efiFixed1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux 8grub2-tools-extraFixed1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux 8grub2-tools-minimalFixed1:2.02-123.el8_6.8.almaALSA-2022:5095
AlmaLinux 8shim-aa64Fixed15.6-1.el8.almaALSA-2022:5095
AlmaLinux 8shim-ia32Fixed15.6-1.el8.almaALSA-2022:5095
AlmaLinux 8shim-unsigned-x64Fixed15.6-1.el8.almaALSA-2022:5095
AlmaLinux 8shim-x64Fixed15.6-1.el8.almaALSA-2022:5095
Rocky Linux 9mokutilFixed2:0.4.0-8.el9_0.1RLSA-2022:5099
Rocky Linux 9shimFixed0:15.6-1.el9RLSA-2022:5099
Rocky Linux 8grub2Fixed1:2.02-123.el8_6.8RLSA-2022:5095
Rocky Linux 8mokutilFixed1:0.3.0-11.el8_6.1RLSA-2022:5095
Rocky Linux 8shimFixed0:15.6-1.el8RLSA-2022:5095
Rocky Linux 8shim-unsigned-x64Fixed0:15.6-1.el8RLSA-2022:5095

What the vendor says

As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.