<?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-2022-0017</id>
    <title>An update for ghostscript is now available for HCE 2.0</title>
    <severity>Moderate</severity>
    <release>HCE 2.0</release>
    <issued date="2022-10-08 17:46:41"/>
    <updated date="2022-10-08 17:46:41"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-2085" id="CVE-2022-2085" title="CVE-2022-2085 Base Score: 5.5 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H" type="cve"/>
    </references>
    <description>Security Fix(es):

A NULL pointer dereference vulnerability was found in Ghostscript, which occurs when it tries to render a large number of bits in memory. When allocating a buffer device, it relies on an init_device_procs defined for the device that uses it as a prototype that depends upon the number of bits per pixel. For bpp &gt; 64, mem_x_device is used and does not have an init_device_procs defined. This flaw allows an attacker to parse a large number of bits (more than 64 bits per pixel), which triggers a NULL pointer dereference flaw, causing an application to crash. (CVE-2022-2085)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="ghostscript">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="ghostscript" version="9.55.0" release="2.hce2">
          <filename>ghostscript-9.55.0-2.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="ghostscript-devel" version="9.55.0" release="2.hce2">
          <filename>ghostscript-devel-9.55.0-2.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="ghostscript-help" version="9.55.0" release="2.hce2">
          <filename>ghostscript-help-9.55.0-2.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="ghostscript-tools-dvipdf" version="9.55.0" release="2.hce2">
          <filename>ghostscript-tools-dvipdf-9.55.0-2.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="ghostscript" version="9.55.0" release="2.hce2">
          <filename>ghostscript-9.55.0-2.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="ghostscript-devel" version="9.55.0" release="2.hce2">
          <filename>ghostscript-devel-9.55.0-2.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="ghostscript-tools-dvipdf" version="9.55.0" release="2.hce2">
          <filename>ghostscript-tools-dvipdf-9.55.0-2.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
