Loop with Unreachable Exit Condition ('Infinite Loop') Affecting libraw package, versions <0.19.2-r0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.28% (69th 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-ALPINE318-LIBRAW-5515209
  • published23 Dec 2018
  • disclosed20 Feb 2019

Introduced: 23 Dec 2018

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

How to fix?

Upgrade Alpine:3.18 libraw to version 0.19.2-r0 or higher.

NVD Description

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

An error within the "parse_rollei()" function (internal/dcraw_common.cpp) within LibRaw versions prior to 0.19.1 can be exploited to trigger an infinite loop.