Uncontrolled Recursion Affecting freeimage package, versions <3.18.0-r2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.74% (81st 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-ALPINE320-FREEIMAGE-7011455
  • published23 May 2024
  • disclosed20 May 2019

Introduced: 20 May 2019

CVE-2019-12213  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Alpine:3.20 freeimage to version 3.18.0-r2 or higher.

NVD Description

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

When FreeImage 3.18.0 reads a special TIFF file, the TIFFReadDirectory function in PluginTIFF.cpp always returns 1, leading to stack exhaustion.

CVSS Scores

version 3.1