Incorrect Calculation of Buffer Size Affecting libtiff-static package, versions <0:4.0.3-35.amzn2.0.9


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.23% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-LIBTIFFSTATIC-5881361
  • published6 Sept 2023
  • disclosed31 Aug 2022

Introduced: 31 Aug 2022

CVE-2022-2520  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 libtiff-static to version 0:4.0.3-35.amzn2.0.9 or higher.
This issue was patched in ALAS2-2023-2212.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libtiff-static package and not the libtiff-static package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Scores

version 3.1