<?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-2022-0030</id>
    <title>An update for libtiff is now available for HCE 2.0</title>
    <severity>Important</severity>
    <release>HCE 2.0</release>
    <issued date="2022-10-08 17:46:41"/>
    <updated date="2022-10-08 17:46:41"/>
    <references>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-2868" id="CVE-2022-2868" title="CVE-2022-2868 Base Score: 8.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H" type="cve"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-2869" id="CVE-2022-2869" title="CVE-2022-2869 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-2022-2953" id="CVE-2022-2953" title="CVE-2022-2953 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-2022-2867" id="CVE-2022-2867" title="CVE-2022-2867 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"/>
    </references>
    <description>Security Fix(es):

libtiff's tiffcrop utility has a improper input validation flaw that can lead to out of bounds read and ultimately cause a crash if an attacker is able to supply a crafted file to tiffcrop. (CVE-2022-2868)

libtiff's tiffcrop tool has a uint32_t underflow which leads to out of bounds read and write in the extractContigSamples8bits routine. An attacker who supplies a crafted file to tiffcrop could trigger this flaw, most likely by tricking a user into opening the crafted file with tiffcrop. Triggering this flaw could cause a crash or potentially further exploitation. (CVE-2022-2869)

LibTIFF 4.4.0 has an out-of-bounds read in extractImageSection in tools/tiffcrop.c:6905, allowing attackers to cause a denial-of-service via a crafted tiff file. For users that compile libtiff from sources, the fix is available with commit 48d6ece8. (CVE-2022-2953)

libtiff's tiffcrop utility has a uint32_t underflow that can lead to out of bounds read and write. An attacker who supplies a crafted file to tiffcrop (likely via tricking a user to run tiffcrop on it with certain parameters) could cause a crash or in some cases, further exploitation. (CVE-2022-2867)
</description>
    <pkglist>
      <collection short="HCE 2.0" package="libtiff">
        <name>HCE 2.0</name>
        <package arch="aarch64" name="libtiff" version="4.3.0" release="9.r7.hce2">
          <filename>libtiff-4.3.0-9.r7.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="libtiff-devel" version="4.3.0" release="9.r7.hce2">
          <filename>libtiff-devel-4.3.0-9.r7.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="libtiff-help" version="4.3.0" release="9.r7.hce2">
          <filename>libtiff-help-4.3.0-9.r7.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="libtiff-static" version="4.3.0" release="9.r7.hce2">
          <filename>libtiff-static-4.3.0-9.r7.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="libtiff-tools" version="4.3.0" release="9.r7.hce2">
          <filename>libtiff-tools-4.3.0-9.r7.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="libtiff" version="4.3.0" release="9.r7.hce2">
          <filename>libtiff-4.3.0-9.r7.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="libtiff-devel" version="4.3.0" release="9.r7.hce2">
          <filename>libtiff-devel-4.3.0-9.r7.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="libtiff-static" version="4.3.0" release="9.r7.hce2">
          <filename>libtiff-static-4.3.0-9.r7.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="libtiff-tools" version="4.3.0" release="9.r7.hce2">
          <filename>libtiff-tools-4.3.0-9.r7.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
