Loop with Unreachable Exit Condition ('Infinite Loop') Affecting exiv2-libs package, versions <0:0.27.0-2.el7_6


Severity

Recommended
low

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.11% (46th 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-ORACLE7-EXIV2LIBS-2535679
  • published10 Apr 2022
  • disclosed3 Nov 2018

Introduced: 3 Nov 2018

CVE-2018-18915  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Oracle:7 exiv2-libs to version 0:0.27.0-2.el7_6 or higher.
This issue was patched in ELSA-2019-2101.

NVD Description

Note: Versions mentioned in the description apply only to the upstream exiv2-libs package and not the exiv2-libs package as distributed by Oracle. See How to fix? for Oracle:7 relevant fixed versions and status.

There is an infinite loop in the Exiv2::Image::printIFDStructure function of image.cpp in Exiv2 0.27-RC1. A crafted input will lead to a remote denial of service attack.