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


high

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Availability High

    Threat Intelligence

    EPSS 0.06% (27th percentile)
Expand this section
NVD
5.5 medium
Expand this section
SUSE
3.3 low
Expand this section
Red Hat
5.5 medium

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 ID SNYK-AMZN2-LIBTIFFSTATIC-3110275
  • published 9 Nov 2022
  • disclosed 17 Aug 2022

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.