Integer Underflow Affecting grub2-common package, versions <1:2.06-14.amzn2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.15% (53rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-GRUB2COMMON-5789226
  • published20 Jul 2023
  • disclosed20 Jul 2023

Introduced: 20 Jul 2023

CVE-2022-28733  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 grub2-common to version 1:2.06-14.amzn2 or higher.
This issue was patched in ALAS2-2023-2146.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grub2-common package and not the grub2-common package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Scores

version 3.1