<?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-0315</id>
    <title>An update for ghostscript is now available for HCE 2.0</title>
    <severity>Important</severity>
    <release>HCE 2.0</release>
    <issued date="2024-12-20 09:52:44"/>
    <updated date="2024-12-20 09:52:44"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-33871" id="CVE-2024-33871" title="CVE-2024-33871 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-2024-46956" id="CVE-2024-46956" title="CVE-2024-46956 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"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-46953" id="CVE-2024-46953" title="CVE-2024-46953 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"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-46955" id="CVE-2024-46955" title="CVE-2024-46955 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-2024-46951" id="CVE-2024-46951" title="CVE-2024-46951 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"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2024-46952" id="CVE-2024-46952" title="CVE-2024-46952 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):

An issue was discovered in Artifex Ghostscript before 10.03.1. contrib/opvp/gdevopvp.c allows arbitrary code execution via a custom Driver library, exploitable via a crafted PostScript document. This occurs because the Driver parameter for opvp (and oprp) devices can have an arbitrary name for a dynamic library; this library is then loaded. (CVE-2024-33871)

An issue was discovered in psi/zfile.c in Artifex Ghostscript before 10.04.0. Out-of-bounds data access in filenameforall can lead to arbitrary code execution. (CVE-2024-46956)

An issue was discovered in base/gsdevice.c in Artifex Ghostscript before 10.04.0. An integer overflow when parsing the filename format string (for the output filename) results in path truncation, and possible path traversal and code execution. (CVE-2024-46953)

An issue was discovered in psi/zcolor.c in Artifex Ghostscript before 10.04.0. There is an out-of-bounds read when reading color in Indexed color space. (CVE-2024-46955)

An issue was discovered in psi/zcolor.c in Artifex Ghostscript before 10.04.0. An unchecked Implementation pointer in Pattern color space could lead to arbitrary code execution. (CVE-2024-46951)

An issue was discovered in pdf/pdf_xref.c in Artifex Ghostscript before 10.04.0. There is a buffer overflow during handling of a PDF XRef stream (related to W array values). (CVE-2024-46952)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="ghostscript">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="ghostscript" version="9.55.0" release="6.r11.hce2">
          <filename>ghostscript-9.55.0-6.r11.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="ghostscript-devel" version="9.55.0" release="6.r11.hce2">
          <filename>ghostscript-devel-9.55.0-6.r11.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="ghostscript-help" version="9.55.0" release="6.r11.hce2">
          <filename>ghostscript-help-9.55.0-6.r11.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="ghostscript-tools-dvipdf" version="9.55.0" release="6.r11.hce2">
          <filename>ghostscript-tools-dvipdf-9.55.0-6.r11.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="ghostscript" version="9.55.0" release="6.r11.hce2">
          <filename>ghostscript-9.55.0-6.r11.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="ghostscript-devel" version="9.55.0" release="6.r11.hce2">
          <filename>ghostscript-devel-9.55.0-6.r11.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="ghostscript-tools-dvipdf" version="9.55.0" release="6.r11.hce2">
          <filename>ghostscript-tools-dvipdf-9.55.0-6.r11.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
