Loop with Unreachable Exit Condition ('Infinite Loop') Affecting cairo package, versions <1.17.4-r1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.26% (65th 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-CAIRO-5511775
  • published22 May 2022
  • disclosed16 Jan 2019

Introduced: 16 Jan 2019

CVE-2019-6462  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Alpine:3.18 cairo to version 1.17.4-r1 or higher.

NVD Description

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

An issue was discovered in cairo 1.16.0. There is an infinite loop in the function _arc_error_normalized in the file cairo-arc.c, related to _arc_max_angle_for_tolerance_normalized.

CVSS Scores

version 3.1