<?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-0152</id>
    <title>An update for libXpm is now available for HCE 2.0</title>
    <severity>Important</severity>
    <release>HCE 2.0</release>
    <issued date="2023-03-27 08:19:42"/>
    <updated date="2023-03-27 08:19:42"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-4883" id="CVE-2022-4883" title="CVE-2022-4883 Base Score: 8.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-44617" id="CVE-2022-44617" title="CVE-2022-44617 Base Score: 7.5 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-46285" id="CVE-2022-46285" title="CVE-2022-46285 Base Score: 7.5 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" type="cve"/>
    </references>
    <description>Security Fix(es):

A flaw was found in libXpm. When processing files with .Z or .gz extensions, the library calls external programs to compress and uncompress files, relying on the PATH environment variable to find these programs, which could allow a malicious user to execute other programs by manipulating the PATH environment variable. (CVE-2022-4883)

A flaw was found in libXpm. When processing a file with width of 0 and a very large height, some parser functions will be called repeatedly and can lead to an infinite loop, resulting in a Denial of Service in the application linked to the library. (CVE-2022-44617)

A flaw was found in libXpm. This issue occurs when parsing a file with a comment not closed; the end-of-file condition will not be detected, leading to an infinite loop and resulting in a Denial of Service in the application linked to the library. (CVE-2022-46285)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="libXpm">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="libXpm" version="3.5.13" release="1.r2.hce2">
          <filename>libXpm-3.5.13-1.r2.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="libXpm-devel" version="3.5.13" release="1.r2.hce2">
          <filename>libXpm-devel-3.5.13-1.r2.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="libXpm-help" version="3.5.13" release="1.r2.hce2">
          <filename>libXpm-help-3.5.13-1.r2.hce2.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="libXpm" version="3.5.13" release="1.r2.hce2">
          <filename>libXpm-3.5.13-1.r2.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="libXpm-devel" version="3.5.13" release="1.r2.hce2">
          <filename>libXpm-devel-3.5.13-1.r2.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
