<?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-0111</id>
    <title>An update for sysstat is now available for HCE 2.0</title>
    <severity>Critical</severity>
    <release>HCE 2.0</release>
    <issued date="2023-01-05 20:19:38"/>
    <updated date="2023-01-05 20:19:38"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-39377" id="CVE-2022-39377" title="CVE-2022-39377 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"/>
    </references>
    <description>Security Fix(es):

sysstat is a set of system performance tools for the Linux operating system. On 32 bit systems, in versions 9.1.16 and newer but prior to 12.7.1, allocate_structures contains a size_t overflow in sa_common.c. The allocate_structures function insufficiently checks bounds before arithmetic multiplication, allowing for an overflow in the size allocated for the buffer representing system activities. This issue may lead to Remote Code Execution (RCE). This issue has been patched in version 12.7.1. (CVE-2022-39377)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="sysstat">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="sysstat" version="12.5.4" release="1.r4.hce2">
          <filename>sysstat-12.5.4-1.r4.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="sysstat" version="12.5.4" release="1.r4.hce2">
          <filename>sysstat-12.5.4-1.r4.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
