CVE Vulnerabilities

CVE-2022-28733

Integer Underflow (Wrap or Wraparound)

Published: Jul 20, 2023 | Modified: Nov 21, 2024
CVSS 3.x
8.1
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
8.1 IMPORTANT
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result.

Affected Software

NameVendorStart VersionEnd Version
Grub2Gnu2.00 (including)2.06-3 (excluding)
Red Hat Enterprise Linux 7RedHatgrub2-1:2.02-0.87.el7_9.11*
Red Hat Enterprise Linux 8RedHatgrub2-1:2.02-123.el8_6.8*
Red Hat Enterprise Linux 8.1 Update Services for SAP SolutionsRedHatgrub2-1:2.02-87.el8_1.10*
Red Hat Enterprise Linux 8.2 Extended Update SupportRedHatgrub2-1:2.02-87.el8_2.10*
Red Hat Enterprise Linux 8.4 Extended Update SupportRedHatgrub2-1:2.02-99.el8_4.9*
Red Hat Enterprise Linux 9RedHatgrub2-1:2.06-27.el9_0.7*
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8RedHatredhat-virtualization-host-0:4.5.1-202207170705_8.6*
Grub2Ubuntubionic*
Grub2Ubuntuimpish*
Grub2Ubuntuupstream*
Grub2-signedUbuntubionic*
Grub2-signedUbuntuesm-infra/bionic*
Grub2-signedUbuntuesm-infra/focal*
Grub2-signedUbuntuesm-infra/xenial*
Grub2-signedUbuntufocal*
Grub2-signedUbuntujammy*
Grub2-signedUbuntukinetic*
Grub2-signedUbuntutrusty*
Grub2-signedUbuntutrusty/esm*
Grub2-signedUbuntuxenial*
Grub2-unsignedUbuntubionic*
Grub2-unsignedUbuntuesm-infra/bionic*
Grub2-unsignedUbuntuesm-infra/focal*
Grub2-unsignedUbuntuesm-infra/xenial*
Grub2-unsignedUbuntufocal*
Grub2-unsignedUbuntujammy*
Grub2-unsignedUbuntukinetic*
Grub2-unsignedUbuntutrusty*
Grub2-unsignedUbuntuxenial*

References