<?xml version="1.0" encoding="utf-8"?>
  <?xml-stylesheet type="text/xsl" href="sa-render.xsl"?>
  <update from="huaweicloud.com" type="security" status="stable" version="1">
    <id>HCE2-SA-2023-0083</id>
    <title>An update for grub2 is now available for HCE 2.0</title>
    <severity>Important</severity>
    <release>HCE 2.0</release>
    <issued date="2023-01-05 20:19:38"/>
    <updated date="2023-01-05 20:19:38"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-3775" id="CVE-2022-3775" title="CVE-2022-3775 Base Score: 6.3 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-2601" id="CVE-2022-2601" title="CVE-2022-2601 Base Score: 8.2 Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H" type="cve"/>
    </references>
    <description>Security Fix(es):

A flaw was found in the grub2 font code. When rendering certain unicode sequences, it fails to properly validate the font width and height. These values are further used to access the font buffer, causing possible out-of-bounds writes. A malicious actor may craft a font capable of triggering this issue, allowing modifications in unauthorized memory segments, causing data integrity problems or leading to denial of service. (CVE-2022-3775)

A buffer overflow was found in grub_font_construct_glyph(). A malicious crafted pf2 font can lead to an overflow when calculating the max_glyph_size value, allocating a smaller than needed buffer for the glyph, this further leads to a buffer overflow and a heap based out-of-bounds write. An attacker may use this vulnerability to circumvent the secure boot mechanism. (CVE-2022-2601)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="grub2">
        <name>HCE 2.0</name>
        <package arch="noarch" name="grub2-common" version="2.06" release="3.r20.hce2">
          <filename>grub2-common-2.06-3.r20.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="grub2-efi-aa64" version="2.06" release="3.r20.hce2">
          <filename>grub2-efi-aa64-2.06-3.r20.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="grub2-efi-aa64-modules" version="2.06" release="3.r20.hce2">
          <filename>grub2-efi-aa64-modules-2.06-3.r20.hce2.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="grub2-help" version="2.06" release="3.r20.hce2">
          <filename>grub2-help-2.06-3.r20.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="grub2-tools" version="2.06" release="3.r20.hce2">
          <filename>grub2-tools-2.06-3.r20.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="grub2-tools-extra" version="2.06" release="3.r20.hce2">
          <filename>grub2-tools-extra-2.06-3.r20.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="grub2-tools-minimal" version="2.06" release="3.r20.hce2">
          <filename>grub2-tools-minimal-2.06-3.r20.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="grub2-efi-ia32-modules" version="2.06" release="3.r20.hce2">
          <filename>grub2-efi-ia32-modules-2.06-3.r20.hce2.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="grub2-efi-x64" version="2.06" release="3.r20.hce2">
          <filename>grub2-efi-x64-2.06-3.r20.hce2.x86_64.rpm</filename>
        </package>
        <package arch="noarch" name="grub2-efi-x64-modules" version="2.06" release="3.r20.hce2">
          <filename>grub2-efi-x64-modules-2.06-3.r20.hce2.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="grub2-pc" version="2.06" release="3.r20.hce2">
          <filename>grub2-pc-2.06-3.r20.hce2.x86_64.rpm</filename>
        </package>
        <package arch="noarch" name="grub2-pc-modules" version="2.06" release="3.r20.hce2">
          <filename>grub2-pc-modules-2.06-3.r20.hce2.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="grub2-tools" version="2.06" release="3.r20.hce2">
          <filename>grub2-tools-2.06-3.r20.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="grub2-tools-efi" version="2.06" release="3.r20.hce2">
          <filename>grub2-tools-efi-2.06-3.r20.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="grub2-tools-extra" version="2.06" release="3.r20.hce2">
          <filename>grub2-tools-extra-2.06-3.r20.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="grub2-tools-minimal" version="2.06" release="3.r20.hce2">
          <filename>grub2-tools-minimal-2.06-3.r20.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
