ALAS-2023-2212


Amazon Linux 2 Security Advisory: ALAS-2023-2212
Advisory Release Date: 2023-08-17 11:58 Pacific
Advisory Updated Date: 2023-08-31 22:24 Pacific
Severity: Medium

Issue Overview:

2023-08-31: CVE-2022-2953 was added to this advisory.

2023-08-31: CVE-2022-2520 was added to this advisory.

2023-08-31: CVE-2022-2868 was added to this advisory.

2023-08-31: CVE-2022-3597 was added to this advisory.

2023-08-31: CVE-2022-3626 was added to this advisory.

A flaw was found in libtiff 4.4.0rc1. There is a sysmalloc assertion fail in rotateImage() at tiffcrop.c:8621 that can cause program crash when reading a crafted input. (CVE-2022-2520)

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 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 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 _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)

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)


Affected Packages:

libtiff


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update libtiff to update your system.

New Packages:
aarch64:
    libtiff-4.0.3-35.amzn2.0.9.aarch64
    libtiff-devel-4.0.3-35.amzn2.0.9.aarch64
    libtiff-static-4.0.3-35.amzn2.0.9.aarch64
    libtiff-tools-4.0.3-35.amzn2.0.9.aarch64
    libtiff-debuginfo-4.0.3-35.amzn2.0.9.aarch64

i686:
    libtiff-4.0.3-35.amzn2.0.9.i686
    libtiff-devel-4.0.3-35.amzn2.0.9.i686
    libtiff-static-4.0.3-35.amzn2.0.9.i686
    libtiff-tools-4.0.3-35.amzn2.0.9.i686
    libtiff-debuginfo-4.0.3-35.amzn2.0.9.i686

src:
    libtiff-4.0.3-35.amzn2.0.9.src

x86_64:
    libtiff-4.0.3-35.amzn2.0.9.x86_64
    libtiff-devel-4.0.3-35.amzn2.0.9.x86_64
    libtiff-static-4.0.3-35.amzn2.0.9.x86_64
    libtiff-tools-4.0.3-35.amzn2.0.9.x86_64
    libtiff-debuginfo-4.0.3-35.amzn2.0.9.x86_64