<?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-0149</id>
    <title>An update for xorg-x11-server is now available for HCE 2.0</title>
    <severity>Important</severity>
    <release>HCE 2.0</release>
    <issued date="2024-05-25 06:44:28"/>
    <updated date="2024-05-25 06:44:28"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-31082" id="CVE-2024-31082" title="CVE-2024-31082 Base Score: 7.3 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-31083" id="CVE-2024-31083" title="CVE-2024-31083 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-2024-31080" id="CVE-2024-31080" title="CVE-2024-31080 Base Score: 7.3 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-31081" id="CVE-2024-31081" title="CVE-2024-31081 Base Score: 7.3 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H" type="cve"/>
    </references>
    <description>Security Fix(es):

A heap-based buffer over-read vulnerability was found in the X.org server's ProcAppleDRICreatePixmap() function. This issue occurs when byte-swapped length values are used in replies, potentially leading to memory leakage and segmentation faults, particularly when triggered by a client with a different endianness. This vulnerability could be exploited by an attacker to cause the X server to read heap memory values and then transmit them back to the client until encountering an unmapped page, resulting in a crash. Despite the attacker's inability to control the specific memory copied into the replies, the small length values typically stored in a 32-bit integer can result in significant attempted out-of-bounds reads. (CVE-2024-31082)

A use-after-free vulnerability was found in the ProcRenderAddGlyphs() function of Xorg servers. This issue occurs when AllocateGlyph() is called to store new glyphs sent by the client to the X server, potentially resulting in multiple entries pointing to the same non-refcounted glyphs. Consequently, ProcRenderAddGlyphs() may free a glyph, leading to a use-after-free scenario when the same glyph pointer is subsequently accessed. This flaw allows an authenticated attacker to execute arbitrary code on the system by sending a specially crafted request. (CVE-2024-31083)

A heap-based buffer over-read vulnerability was found in the X.org server's ProcXIGetSelectedEvents() function. This issue occurs when byte-swapped length values are used in replies, potentially leading to memory leakage and segmentation faults, particularly when triggered by a client with a different endianness. This vulnerability could be exploited by an attacker to cause the X server to read heap memory values and then transmit them back to the client until encountering an unmapped page, resulting in a crash. Despite the attacker's inability to control the specific memory copied into the replies, the small length values typically stored in a 32-bit integer can result in significant attempted out-of-bounds reads. (CVE-2024-31080)

A heap-based buffer over-read vulnerability was found in the X.org server's ProcXIPassiveGrabDevice() function. This issue occurs when byte-swapped length values are used in replies, potentially leading to memory leakage and segmentation faults, particularly when triggered by a client with a different endianness. This vulnerability could be exploited by an attacker to cause the X server to read heap memory values and then transmit them back to the client until encountering an unmapped page, resulting in a crash. Despite the attacker's inability to control the specific memory copied into the replies, the small length values typically stored in a 32-bit integer can result in significant attempted out-of-bounds reads. (CVE-2024-31081)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="xorg-x11-server">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="xorg-x11-server" version="1.20.11" release="4.r14.hce2">
          <filename>xorg-x11-server-1.20.11-4.r14.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="xorg-x11-server-common" version="1.20.11" release="4.r14.hce2">
          <filename>xorg-x11-server-common-1.20.11-4.r14.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="xorg-x11-server-devel" version="1.20.11" release="4.r14.hce2">
          <filename>xorg-x11-server-devel-1.20.11-4.r14.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="xorg-x11-server-help" version="1.20.11" release="4.r14.hce2">
          <filename>xorg-x11-server-help-1.20.11-4.r14.hce2.noarch.rpm</filename>
        </package>
        <package arch="noarch" name="xorg-x11-server-source" version="1.20.11" release="4.r14.hce2">
          <filename>xorg-x11-server-source-1.20.11-4.r14.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="xorg-x11-server-Xdmx" version="1.20.11" release="4.r14.hce2">
          <filename>xorg-x11-server-Xdmx-1.20.11-4.r14.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="xorg-x11-server-Xephyr" version="1.20.11" release="4.r14.hce2">
          <filename>xorg-x11-server-Xephyr-1.20.11-4.r14.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="xorg-x11-server-Xnest" version="1.20.11" release="4.r14.hce2">
          <filename>xorg-x11-server-Xnest-1.20.11-4.r14.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="xorg-x11-server-Xvfb" version="1.20.11" release="4.r14.hce2">
          <filename>xorg-x11-server-Xvfb-1.20.11-4.r14.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="xorg-x11-server" version="1.20.11" release="4.r14.hce2">
          <filename>xorg-x11-server-1.20.11-4.r14.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="xorg-x11-server-common" version="1.20.11" release="4.r14.hce2">
          <filename>xorg-x11-server-common-1.20.11-4.r14.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="xorg-x11-server-devel" version="1.20.11" release="4.r14.hce2">
          <filename>xorg-x11-server-devel-1.20.11-4.r14.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="xorg-x11-server-Xdmx" version="1.20.11" release="4.r14.hce2">
          <filename>xorg-x11-server-Xdmx-1.20.11-4.r14.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="xorg-x11-server-Xephyr" version="1.20.11" release="4.r14.hce2">
          <filename>xorg-x11-server-Xephyr-1.20.11-4.r14.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="xorg-x11-server-Xnest" version="1.20.11" release="4.r14.hce2">
          <filename>xorg-x11-server-Xnest-1.20.11-4.r14.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="xorg-x11-server-Xvfb" version="1.20.11" release="4.r14.hce2">
          <filename>xorg-x11-server-Xvfb-1.20.11-4.r14.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
