Loop with Unreachable Exit Condition ('Infinite Loop') Affecting exiv2 package, versions <0:0.27.2-5.el8


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
0.11% (45th 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-CENTOS8-EXIV2-2027626
  • published26 Jul 2021
  • disclosed2 Nov 2018

Introduced: 2 Nov 2018

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

How to fix?

Upgrade Centos:8 exiv2 to version 0:0.27.2-5.el8 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream exiv2 package and not the exiv2 package as distributed by Centos. See How to fix? for Centos:8 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.