<?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-0283</id>
    <title>An update for ghostscript is now available for HCE 2.0</title>
    <severity>Critical</severity>
    <release>HCE 2.0</release>
    <issued date="2023-09-15 08:04:42"/>
    <updated date="2023-09-15 08:04:42"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2023-38559" id="CVE-2023-38559" title="CVE-2023-38559 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"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2023-28879" id="CVE-2023-28879" title="CVE-2023-28879 Base Score: 9.8 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2023-36664" id="CVE-2023-36664" title="CVE-2023-36664 Base Score: 7.8 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" type="cve"/>
    </references>
    <description>Security Fix(es):

A buffer overflow flaw was found in base/gdevdevn.c:1973 in devn_pcx_write_rle() in ghostscript. This issue may allow a local attacker to cause a denial of service via outputting a crafted PDF file for a DEVN device with gs. (CVE-2023-38559)

In Artifex Ghostscript through 10.01.0, there is a buffer overflow leading to potential corruption of data internal to the PostScript interpreter, in base/sbcp.c. This affects BCPEncode, BCPDecode, TBCPEncode, and TBCPDecode. If the write buffer is filled to one byte less than full, and one then tries to write an escaped character, two bytes are written. (CVE-2023-28879)

Artifex Ghostscript through 10.01.2 mishandles permission validation for pipe devices (with the %pipe% prefix or the | pipe character prefix). (CVE-2023-36664)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="ghostscript">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="ghostscript" version="9.55.0" release="5.hce2">
          <filename>ghostscript-9.55.0-5.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="ghostscript-devel" version="9.55.0" release="5.hce2">
          <filename>ghostscript-devel-9.55.0-5.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="ghostscript-help" version="9.55.0" release="5.hce2">
          <filename>ghostscript-help-9.55.0-5.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="ghostscript-tools-dvipdf" version="9.55.0" release="5.hce2">
          <filename>ghostscript-tools-dvipdf-9.55.0-5.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="ghostscript" version="9.55.0" release="5.hce2">
          <filename>ghostscript-9.55.0-5.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="ghostscript-devel" version="9.55.0" release="5.hce2">
          <filename>ghostscript-devel-9.55.0-5.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="ghostscript-tools-dvipdf" version="9.55.0" release="5.hce2">
          <filename>ghostscript-tools-dvipdf-9.55.0-5.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
