Out-of-bounds Write 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.04% (15th 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-5789616
  • published20 Jul 2023
  • disclosed19 Dec 2022

Introduced: 19 Dec 2022

CVE-2022-3775  (opens in a new tab)
CWE-787  (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.

When rendering certain unicode sequences, grub2's font code doesn't proper validate if the informed glyph's width and height is constrained within bitmap size. As consequence an attacker can craft an input which will lead to a out-of-bounds write into grub2's heap, leading to memory corruption and availability issues. Although complex, arbitrary code execution could not be discarded.

CVSS Scores

version 3.1