Integer underflow in grub - CVE-2022-28733

 

Integer underflow in grub - CVE-2022-28733

Published: June 8, 2022 / Updated: July 20, 2022


Vulnerability identifier: #VU64062
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-28733
CWE-ID: CWE-191
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer underflow when processing IP packets within the grub_net_recv_ip4_packets() function. A remote attacker can send specially crafted network traffic to the affected system, trigger an integer underflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

grub
Gentoo Linux
Amazon Linux AMI
Oracle Linux
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Module for SUSE Manager Proxy
SUSE Linux Enterprise Micro
SUSE Enterprise Storage
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Anolis OS
HPE Helion Openstack
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise Module for Server Applications
openSUSE Leap
openEuler
Ubuntu
Fedora
Red Hat Advanced Cluster Management for Kubernetes
Dell Secure Connect Gateway
IBM Security Verify Governance
Red Hat Virtualization
Red Hat Virtualization Host
redhat-virtualization-host-productimg (Red Hat package)
redhat-release-virtualization-host (Red Hat package)
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
shim (Red Hat package)
shim-unsigned-x64 (Red Hat package)
mokutil
shim-signed (Ubuntu package)
grub-efi-amd64-signed (Ubuntu package)
grub-efi-arm64-signed (Ubuntu package)
grub2 (Red Hat package)
grub2-systemd-sleep-plugin
grub2-snapper-plugin
grub2-x86_64-xen
grub2-x86_64-efi
grub2-i386-pc
grub2-debugsource
grub2-debuginfo
grub2
grub2-tools-efi
grub2-efi-aa64-modules
grub2-common
grub2-pc
grub2-efi-x64-cdboot
grub2-efi-x64
grub2-efi-ia32-cdboot
grub2-efi-ia32
grub2-tools-minimal
grub2-tools
grub2-efi-aa64-cdboot
grub2-efi-aa64
grub2-pc-modules
grub2-efi-x64-modules
grub2-efi-ia32-modules
grub2-tools-extra
grub2-s390x-emu
grub2-arm64-efi
grub2-powerpc-ieee1275
grub2-help
grub2-x86_64-efi-debug
grub2-branding-upstream
grub2-powerpc-ieee1275-debug
grub2-i386-pc-debug
grub2-arm64-efi-debug
grub2-s390x-emu-debug
sys-boot/grub
grub-efi-amd64 (Ubuntu package)
grub-efi-amd64-bin (Ubuntu package)
grub-efi-arm64 (Ubuntu package)
grub-efi-arm64-bin (Ubuntu package)
rhel-- (Red Hat package)
shim-unsigned-x64
shim-aa64
shim-ia32
shim-x64
shim (Ubuntu package)
SecurID Authentication Manager
IBM Security Verify Access
Dell EMC Storage Monitoring and Reporting (SMR)
Red Hat OpenShift Container Platform
Dell EMC VxRail Appliance
IBM Qradar SIEM
EMC Cloud Tiering Appliance

How to mitigate CVE-2022-28733

Install updates from vendor's website.

Red Hat Advanced Cluster Management for Kubernetes - addressed in versions 2.3.11, 2.4.5, 2.5.1
redhat-virtualization-host-productimg (Red Hat package) - update to 4.5.1-1.el8
redhat-release-virtualization-host (Red Hat package) - update to 4.5.1-1.el8ev
Dell Secure Connect Gateway - update to 5.14.00.10
SecurID Authentication Manager - addressed in versions 8.6 Patch 4, 8.7 Patch 1
IBM Security Verify Access - update to 10.0.5.0
IBM Security Verify Governance - update to 10.0.1.0.3
shim (Red Hat package) - addressed in versions 15.6-1.el8, 15.6-1.el9
shim-unsigned-x64 (Red Hat package) - addressed in versions 15.6-1.el8, 15.6-1.el9
mokutil - update to 0.3.0-11.0.3
shim-signed (Ubuntu package) - addressed in versions 1.40.9+15.7-0ubuntu1, 1.51.3+15.7-0ubuntu1
grub-efi-amd64-signed (Ubuntu package) - addressed in versions 1.187.3~20.04.1+2.06-2ubuntu14.1, 1.187.3~22.04.1+2.06-2ubuntu14.1
grub-efi-arm64-signed (Ubuntu package) - addressed in versions 1.187.3~20.04.1+2.06-2ubuntu14.1, 1.187.3~22.04.1+2.06-2ubuntu14.1
grub2 (Red Hat package) - addressed in versions 2.02-0.87.el7_9.11, 2.02-87.el8_1.10, 2.02-87.el8_2.10, 2.02-99.el8_4.9, 2.02-123.el8_6.8, 2.06-27.el9_0.7
grub2-systemd-sleep-plugin - addressed in versions 2.02-115.67.2, 2.02-137.2, 2.02-143.2, 2.02-150000.122.12.2, 2.02-150100.123.12.2, 2.04-150200.9.63.2, 2.04-150300.22.20.2, 2.06-150400.11.5.2
grub2-snapper-plugin - addressed in versions 2.02-115.67.2, 2.02-137.2, 2.02-143.2, 2.02-150000.122.12.2, 2.02-150100.123.12.2, 2.04-150200.9.63.2, 2.04-150300.3.5.1, 2.04-150300.22.20.2, 2.06-150400.11.5.2
grub2-x86_64-xen - addressed in versions 2.02-115.67.2, 2.02-137.2, 2.02-143.2, 2.02-150000.122.12.2, 2.02-150100.123.12.2, 2.04-150200.9.63.2, 2.04-150300.3.5.1, 2.04-150300.22.20.2, 2.06-150400.11.5.2
grub2-x86_64-efi - addressed in versions 2.02-115.67.2, 2.02-137.2, 2.02-143.2, 2.02-150000.122.12.2, 2.02-150100.123.12.2, 2.04-150200.9.63.2, 2.04-150300.3.5.1, 2.04-150300.22.20.2, 2.06-150400.11.5.2
grub2-i386-pc - addressed in versions 2.02-115.67.2, 2.02-137.2, 2.02-143.2, 2.02-150000.122.12.2, 2.02-150100.123.12.2, 2.04-150200.9.63.2, 2.04-150300.3.5.1, 2.04-150300.22.20.2, 2.06-150400.11.5.2
grub2-debugsource - addressed in versions 2.02-115.67.2, 2.02-137.2, 2.02-143.2, 2.02-150000.122.12.2, 2.02-150100.123.12.2, 2.04-150200.9.63.2, 2.04-150300.3.5.1, 2.04-150300.22.20.2, 2.06-150400.11.5.2
grub2-debuginfo - addressed in versions 2.02-115.67.2, 2.02-137.2, 2.02-143.2, 2.02-150000.122.12.2, 2.02-150100.123.12.2, 2.04-150200.9.63.2, 2.04-150300.3.5.1, 2.04-150300.22.20.2, 2.06-150400.11.5.2
grub2 - addressed in versions 2.02-115.67.2, 2.02-137.2, 2.02-143.2, 2.02-150000.122.12.2, 2.02-150100.123.12.2, 2.04-150200.9.63.2, 2.04-150300.3.5.1, 2.04-150300.22.20.2, 2.06-150400.11.5.2
grub2-tools-efi - update to 2.02-123.0.1
grub2-efi-aa64-modules - update to 2.02-123.0.1
grub2-common - update to 2.02-123.0.1
grub2-pc - update to 2.02-123.0.1
grub2-efi-x64-cdboot - update to 2.02-123.0.1
grub2-efi-x64 - update to 2.02-123.0.1
grub2-efi-ia32-cdboot - update to 2.02-123.0.1
grub2-efi-ia32 - update to 2.02-123.0.1
grub2-tools-minimal - update to 2.02-123.0.1
grub2-tools - update to 2.02-123.0.1
grub2-efi-aa64-cdboot - update to 2.02-123.0.1
grub2-efi-aa64 - update to 2.02-123.0.1
grub2-pc-modules - update to 2.02-123.0.1
grub2-efi-x64-modules - update to 2.02-123.0.1
grub2-efi-ia32-modules - update to 2.02-123.0.1
grub2-tools-extra - update to 2.02-123.0.1
grub2-s390x-emu - addressed in versions 2.02-137.2, 2.02-143.2, 2.02-150000.122.12.2, 2.02-150100.123.12.2, 2.04-150200.9.63.2, 2.04-150300.3.5.1, 2.04-150300.22.20.2, 2.06-150400.11.5.2
grub2-arm64-efi - addressed in versions 2.02-137.2, 2.02-143.2, 2.02-150000.122.12.2, 2.02-150100.123.12.2, 2.04-150200.9.63.2, 2.04-150300.3.5.1, 2.04-150300.22.20.2, 2.06-150400.11.5.2
grub2-powerpc-ieee1275 - addressed in versions 2.02-137.2, 2.02-143.2, 2.02-150000.122.12.2, 2.02-150100.123.12.2, 2.04-150200.9.63.2, 2.04-150300.22.20.2, 2.06-150400.11.5.2
grub2-efi-ia32 - update to 2.04-24
grub2-pc-modules - update to 2.04-24
grub2-efi-aa64-modules - update to 2.04-24
grub2-help - update to 2.04-24
grub2-efi-x64 - update to 2.04-24
grub2-pc - update to 2.04-24
grub2-efi-ia32-cdboot - update to 2.04-24
grub2-efi-x64-cdboot - update to 2.04-24
grub2-tools-efi - update to 2.04-24
grub2-efi-ia32-modules - update to 2.04-24
grub2-common - update to 2.04-24
grub2 - update to 2.04-24
grub2-debugsource - update to 2.04-24
grub2-efi-aa64 - update to 2.04-24
grub2-tools-minimal - update to 2.04-24
grub2-efi-aa64-cdboot - update to 2.04-24
grub2-debuginfo - update to 2.04-24
grub2-tools - update to 2.04-24
grub2-tools-extra - update to 2.04-24
grub2-efi-x64-modules - update to 2.04-24
grub2-x86_64-efi-debug - addressed in versions 2.04-150300.22.20.2, 2.06-150400.11.5.2
grub2-branding-upstream - addressed in versions 2.04-150300.22.20.2, 2.06-150400.11.5.2
grub2-powerpc-ieee1275-debug - addressed in versions 2.04-150300.22.20.2, 2.06-150400.11.5.2
grub2-i386-pc-debug - addressed in versions 2.04-150300.22.20.2, 2.06-150400.11.5.2
grub2-arm64-efi-debug - addressed in versions 2.04-150300.22.20.2, 2.06-150400.11.5.2
grub2-s390x-emu-debug - addressed in versions 2.04-150300.22.20.2, 2.06-150400.11.5.2
sys-boot/grub - update to 2.06
grub-efi-amd64 (Ubuntu package) - update to 2.06-2ubuntu14.1
grub-efi-amd64-bin (Ubuntu package) - update to 2.06-2ubuntu14.1
grub-efi-arm64 (Ubuntu package) - update to 2.06-2ubuntu14.1
grub-efi-arm64-bin (Ubuntu package) - update to 2.06-2ubuntu14.1
grub2 - addressed in versions 2.06-11.fc35, 2.06-42.fc36
grub2 - update to 2.06-61
Dell EMC Storage Monitoring and Reporting (SMR) - update to 4.8.0.0
Red Hat OpenShift Container Platform - update to 4.11.0
rhel-- (Red Hat package) - addressed in versions 7/x86_64/2424/grub2/2.02-0.87.el7_9.11/src/fd431d51/package">grub2-2.02-0.87.el7_9.11, 7/x86_64/2458/grub2/2.02-0.87.el7_9.11/src/fd431d51/package">grub2-2.02-0.87.el7_9.11, 7/x86_64/2510/grub2/2.02-0.87.el7_9.11/src/fd431d51/package">grub2-2.02-0.87.el7_9.11, 7/x86_64/2636/grub2/2.02-0.87.el7_9.11/src/fd431d51/package">grub2-2.02-0.87.el7_9.11, 7/ppc64le/4042/grub2/2.02-0.87.el7_9.11/src/fd431d51/package">grub2-2.02-0.87.el7_9.11, 7/ppc64/2590/grub2/2.02-0.87.el7_9.11/src/fd431d51/package">grub2-2.02-0.87.el7_9.11
Dell EMC VxRail Appliance - addressed in versions 7.0.372, 8.0.000
IBM Qradar SIEM - addressed in versions 7.4.3 Fix Pack 9, 7.5.0 Update Pack 5
EMC Cloud Tiering Appliance - addressed in versions 13.0.0.2.33, 13.1.0.2.25
shim-unsigned-x64 - update to 15.6-1
shim-aa64 - update to 15.6-1.0.1
shim-ia32 - update to 15.6-1.0.1
shim-x64 - update to 15.6-1.0.1
shim (Ubuntu package) - update to 15.7-0ubuntu1

External References

Related Security Bulletins