<?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-0201</id>
    <title>An update for gzip is now available for HCE 2.0</title>
    <severity>Important</severity>
    <release>HCE 2.0</release>
    <issued date="2024-06-28 03:58:00"/>
    <updated date="2024-06-28 03:58:00"/>
    <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_x27;s zgrep utility. When zgrep is applied on the attacker_x27;s chosen file name (for example, a crafted file name), this can overwrite an attacker_x27;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 2.0" package="gzip">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="gzip" version="1.11" release="1.r7.hce2">
          <filename>gzip-1.11-1.r7.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="gzip-help" version="1.11" release="1.r7.hce2">
          <filename>gzip-help-1.11-1.r7.hce2.noarch.rpm</filename>
        </package>
        <package arch="x86_64" name="gzip" version="1.11" release="1.r7.hce2">
          <filename>gzip-1.11-1.r7.hce2.x86_64.rpm</filename>
        </package>
        <package arch="noarch" name="gzip-help" version="1.11" release="1.r7.hce2">
          <filename>gzip-help-1.11-1.r7.hce2.noarch.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
