<?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>HCE1-SA-2022-0042</id>
    <title>An update for xz is now available for HCE 1.1</title>
    <severity>Important</severity>
    <release>HCE 1.1</release>
    <issued date="2022-10-18 09:08:10"/>
    <updated date="2022-10-18 09:08:10"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-1271" id="CVE-2022-1271" title="CVE-2022-1271 Base Score: 8.8 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" type="cve"/>
    </references>
    <description>Security Fix(es):

An arbitrary file write vulnerability was found in GNU gzip's zgrep utility. When zgrep is applied on the attacker's chosen file name (for example, a crafted file name), this can overwrite an attacker's content to an arbitrary attacker-selected file. This flaw occurs due to insufficient validation when processing filenames with two or more newlines where selected content and the target file names are embedded in crafted multi-line file names. This flaw allows a remote, low privileged attacker to force zgrep to write arbitrary files on the system. (CVE-2022-1271)
</description>
    <pkglist>
      <collection short="HCE 1.1" package="xz">
        <name>HCE 1.1</name>
        <package arch="x86_64" name="xz" version="5.2.2" release="2.hce1c">
          <filename>xz-5.2.2-2.hce1c.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="xz-devel" version="5.2.2" release="2.hce1c">
          <filename>xz-devel-5.2.2-2.hce1c.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="xz-libs" version="5.2.2" release="2.hce1c">
          <filename>xz-libs-5.2.2-2.hce1c.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
