<?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-2024-0156</id>
    <title>An update for grub2 is now available for HCE 2.0</title>
    <severity>Critical</severity>
    <release>HCE 2.0</release>
    <issued date="2024-06-28 03:57:29"/>
    <updated date="2024-06-28 03:57:29"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2021-3696" id="CVE-2021-3696" title="CVE-2021-3696 Base Score: 4.5 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2021-46848" id="CVE-2021-46848" title="CVE-2021-46848 Base Score: 9.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-28736" id="CVE-2022-28736" title="CVE-2022-28736 Base Score: 7.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-28734" id="CVE-2022-28734" title="CVE-2022-28734 Base Score: 7.0 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2021-3697" id="CVE-2021-3697" title="CVE-2021-3697 Base Score: 7.0 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2021-3695" id="CVE-2021-3695" title="CVE-2021-3695 Base Score: 4.5 Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2021-3981" id="CVE-2021-3981" title="CVE-2021-3981 Base Score: 3.3 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-28733" id="CVE-2022-28733" title="CVE-2022-28733 Base Score: 8.8 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-28735" id="CVE-2022-28735" title="CVE-2022-28735 Base Score: 7.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" type="cve"/>
    </references>
    <description>Security Fix(es):

A heap out-of-bounds write may heppen during the handling of Huffman tables in the PNG reader. This may lead to data corruption in the heap space. Confidentiality, Integrity and Availablity impact may be considered Low as it_x27;s very complex to an attacker control the encoding and positioning of corrupted Huffman entries to achieve results such as arbitrary code execution and/or secure boot circumvention. This flaw affects grub2 versions prior grub-2.12. (CVE-2021-3696)

GNU Libtasn1 before 4.19.0 has an ETYPE_OK off-by-one array size check that affects asn1_encode_simple_der. (CVE-2021-46848)

There_x27;s a use-after-free vulnerability in grub_cmd_chainloader() function; The chainloader command is used to boot up operating systems that doesn_x27;t support multiboot and do not have direct support from GRUB2. When executing chainloader more than once a use-after-free vulnerability is triggered. If an attacker can control the GRUB2_x27;s memory allocation pattern sensitive data may be exposed and arbitrary code execution can be achieved. (CVE-2022-28736)

Out-of-bounds write when handling split HTTP headers; When handling split HTTP headers, GRUB2 HTTP code accidentally moves its internal data buffer point by one position. This can lead to a out-of-bound write further when parsing the HTTP request, writing a NULL byte past the buffer. It_x27;s conceivable that an attacker controlled set of packets can lead to corruption of the GRUB2_x27;s internal memory metadata. (CVE-2022-28734)

A crafted JPEG image may lead the JPEG reader to underflow its data pointer, allowing user-controlled data to be written in heap. To a successful to be performed the attacker needs to perform some triage over the heap layout and craft an image with a malicious format and payload. This vulnerability can lead to data corruption and eventual code execution or secure boot circumvention. This flaw affects grub2 versions prior grub-2.12. (CVE-2021-3697)

A crafted 16-bit grayscale PNG image may lead to a out-of-bounds write in the heap area. An attacker may take advantage of that to cause heap data corruption or eventually arbitrary code execution and circumvent secure boot protections. This issue has a high complexity to be exploited as an attacker needs to perform some triage over the heap layout to achieve signifcant results, also the values written into the memory are repeated three times in a row making difficult to produce valid payloads. This flaw affects grub2 versions prior grub-2.12. (CVE-2021-3695)

A flaw in grub2 was found where its configuration file, known as grub.cfg, is being created with the wrong permission set allowing non privileged users to read its content. This represents a low severity confidentiality issue, as those users can eventually read any encrypted passwords present in grub.cfg. This flaw affects grub2 2.06 and previous versions. This issue has been fixed in grub upstream but no version with the fix is currently released. (CVE-2021-3981)

** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided. (CVE-2022-28733)

The GRUB2_x27;s shim_lock verifier allows non-kernel files to be loaded on shim-powered secure boot systems. Allowing such files to be loaded may lead to unverified code and modules to be loaded in GRUB2 breaking the secure boot trust-chain. (CVE-2022-28735)
</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.r35.hce2">
          <filename>grub2-common-2.06-3.r35.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="grub2-efi-aa64" version="2.06" release="3.r35.hce2">
          <filename>grub2-efi-aa64-2.06-3.r35.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="grub2-efi-aa64-modules" version="2.06" release="3.r35.hce2">
          <filename>grub2-efi-aa64-modules-2.06-3.r35.hce2.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="grub2-help" version="2.06" release="3.r35.hce2">
          <filename>grub2-help-2.06-3.r35.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="grub2-tools" version="2.06" release="3.r35.hce2">
          <filename>grub2-tools-2.06-3.r35.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="grub2-tools-extra" version="2.06" release="3.r35.hce2">
          <filename>grub2-tools-extra-2.06-3.r35.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="grub2-tools-minimal" version="2.06" release="3.r35.hce2">
          <filename>grub2-tools-minimal-2.06-3.r35.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="grub2-efi-ia32-modules" version="2.06" release="3.r35.hce2">
          <filename>grub2-efi-ia32-modules-2.06-3.r35.hce2.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="grub2-efi-x64" version="2.06" release="3.r35.hce2">
          <filename>grub2-efi-x64-2.06-3.r35.hce2.x86_64.rpm</filename>
        </package>
        <package arch="noarch" name="grub2-efi-x64-modules" version="2.06" release="3.r35.hce2">
          <filename>grub2-efi-x64-modules-2.06-3.r35.hce2.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="grub2-pc" version="2.06" release="3.r35.hce2">
          <filename>grub2-pc-2.06-3.r35.hce2.x86_64.rpm</filename>
        </package>
        <package arch="noarch" name="grub2-pc-modules" version="2.06" release="3.r35.hce2">
          <filename>grub2-pc-modules-2.06-3.r35.hce2.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="grub2-tools" version="2.06" release="3.r35.hce2">
          <filename>grub2-tools-2.06-3.r35.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="grub2-tools-efi" version="2.06" release="3.r35.hce2">
          <filename>grub2-tools-efi-2.06-3.r35.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="grub2-tools-extra" version="2.06" release="3.r35.hce2">
          <filename>grub2-tools-extra-2.06-3.r35.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="grub2-tools-minimal" version="2.06" release="3.r35.hce2">
          <filename>grub2-tools-minimal-2.06-3.r35.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
