<?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-0091</id>
    <title>An update for libtiff 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-3598" id="CVE-2022-3598" title="CVE-2022-3598 Base Score: 6.5 Vector: CVSS:3.1/AV:N/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-3570" id="CVE-2022-3570" title="CVE-2022-3570 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"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-3599" id="CVE-2022-3599" title="CVE-2022-3599 Base Score: 6.5 Vector: CVSS:3.1/AV:N/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-3626" id="CVE-2022-3626" title="CVE-2022-3626 Base Score: 6.5 Vector: CVSS:3.1/AV:N/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-2057" id="CVE-2022-2057" title="CVE-2022-2057 Base Score: 6.5 Vector: CVSS:3.1/AV:N/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-2056" id="CVE-2022-2056" title="CVE-2022-2056 Base Score: 6.5 Vector: CVSS:3.1/AV:N/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-3597" id="CVE-2022-3597" title="CVE-2022-3597 Base Score: 6.5 Vector: CVSS:3.1/AV:N/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-3627" id="CVE-2022-3627" title="CVE-2022-3627 Base Score: 6.5 Vector: CVSS:3.1/AV:N/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-3970" id="CVE-2022-3970" title="CVE-2022-3970 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"/>
      <reference href="https://nvd.nist.gov/vuln/detail/CVE-2022-2058" id="CVE-2022-2058" title="CVE-2022-2058 Base Score: 6.5 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H" type="cve"/>
    </references>
    <description>Security Fix(es):

LibTIFF 4.4.0 has an out-of-bounds write in extractContigSamplesShifted24bits in tools/tiffcrop.c:3604, 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 cfbb883b. (CVE-2022-3598)

Multiple heap buffer overflows in tiffcrop.c utility in libtiff library Version 4.4.0 allows attacker to trigger unsafe or out of bounds memory access via crafted TIFF image file which could result into application crash, potential information disclosure or any other context-dependent impact (CVE-2022-3570)

LibTIFF 4.4.0 has an out-of-bounds read in writeSingleSection in tools/tiffcrop.c:7345, 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 e8131125. (CVE-2022-3599)

LibTIFF 4.4.0 has an out-of-bounds write in _TIFFmemset in libtiff/tif_unix.c:340 when called from processCropSelections, tools/tiffcrop.c:7619, 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 236b7191. (CVE-2022-3626)

Divide By Zero error in tiffcrop in libtiff 4.4.0 allows 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 f3a5e010. (CVE-2022-2057)

Divide By Zero error in tiffcrop in libtiff 4.4.0 allows 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 f3a5e010. (CVE-2022-2056)

LibTIFF 4.4.0 has an out-of-bounds write in _TIFFmemcpy in libtiff/tif_unix.c:346 when called from extractImageSection, tools/tiffcrop.c:6826, 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 236b7191. (CVE-2022-3597)

LibTIFF 4.4.0 has an out-of-bounds write in _TIFFmemcpy in libtiff/tif_unix.c:346 when called from extractImageSection, tools/tiffcrop.c:6860, 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 236b7191. (CVE-2022-3627)

A vulnerability was found in LibTIFF. It has been classified as critical. This affects the function TIFFReadRGBATileExt of the file libtiff/tif_getimage.c. The manipulation leads to integer overflow. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The name of the patch is 227500897dfb07fb7d27f7aa570050e62617e3be. It is recommended to apply a patch to fix this issue. The identifier VDB-213549 was assigned to this vulnerability. (CVE-2022-3970)

Divide By Zero error in tiffcrop in libtiff 4.4.0 allows 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 f3a5e010. (CVE-2022-2058)
</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.r10.hce2">
          <filename>libtiff-4.3.0-9.r10.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="libtiff-devel" version="4.3.0" release="9.r10.hce2">
          <filename>libtiff-devel-4.3.0-9.r10.hce2.aarch64.rpm</filename>
        </package>
        <package arch="noarch" name="libtiff-help" version="4.3.0" release="9.r10.hce2">
          <filename>libtiff-help-4.3.0-9.r10.hce2.noarch.rpm</filename>
        </package>
        <package arch="aarch64" name="libtiff-static" version="4.3.0" release="9.r10.hce2">
          <filename>libtiff-static-4.3.0-9.r10.hce2.aarch64.rpm</filename>
        </package>
        <package arch="aarch64" name="libtiff-tools" version="4.3.0" release="9.r10.hce2">
          <filename>libtiff-tools-4.3.0-9.r10.hce2.aarch64.rpm</filename>
        </package>
        <package arch="x86_64" name="libtiff" version="4.3.0" release="9.r10.hce2">
          <filename>libtiff-4.3.0-9.r10.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="libtiff-devel" version="4.3.0" release="9.r10.hce2">
          <filename>libtiff-devel-4.3.0-9.r10.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="libtiff-static" version="4.3.0" release="9.r10.hce2">
          <filename>libtiff-static-4.3.0-9.r10.hce2.x86_64.rpm</filename>
        </package>
        <package arch="x86_64" name="libtiff-tools" version="4.3.0" release="9.r10.hce2">
          <filename>libtiff-tools-4.3.0-9.r10.hce2.x86_64.rpm</filename>
        </package>
      </collection>
    </pkglist>
  </update>
