Integer Underflow Affecting libtiff-static package, versions <0:4.0.3-35.amzn2.0.3


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-AMZN2-LIBTIFFSTATIC-3110275
  • published9 Nov 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:2 libtiff-static to version 0:4.0.3-35.amzn2.0.3 or higher.
This issue was patched in ALAS2-2022-1872.

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.

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