Integer Underflow Affecting libtiff-devel package, versions <0:4.0.3-35.40.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.06% (30th 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-AMZN201803-LIBTIFFDEVEL-3157808
  • published6 Dec 2022
  • disclosed17 Aug 2022

Introduced: 17 Aug 2022

CVE-2022-2867  (opens in a new tab)
CWE-191  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 libtiff-devel to version 0:4.0.3-35.40.amzn1 or higher.
This issue was patched in ALAS-2022-1647.

NVD Description

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

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.

CVSS Scores

version 3.1