Integer Underflow Affecting tiff package, versions <4.1.0+git191117-2ubuntu0.20.04.6


Severity

Recommended
low

Based on Ubuntu security rating

    Threat Intelligence

    EPSS
    0.06% (28th 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 ID SNYK-UBUNTU2004-TIFF-2984474
  • published 17 Aug 2022
  • disclosed 17 Aug 2022

How to fix?

Upgrade Ubuntu:20.04 tiff to version 4.1.0+git191117-2ubuntu0.20.04.6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tiff package and not the tiff package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

libtiff's tiffcrop tool has a uint32_t underflow which leads to out of bounds read and write in the extractContigSamples8bits routine. An attacker who supplies a crafted file to tiffcrop could trigger this flaw, most likely by tricking a user into opening the crafted file with tiffcrop. Triggering this flaw could cause a crash or potentially further exploitation.

CVSS Scores

version 3.1
Expand this section

NVD

5.5 medium
Expand this section

SUSE

3.3 low
Expand this section

Red Hat

5.5 medium