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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
12.94% (97th 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-ALPINE37-LIBCROCO-458267
  • published12 Jun 2017
  • disclosed12 Jun 2017

Introduced: 12 Jun 2017

CVE-2017-8871  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Alpine:3.7 libcroco to version 0.6.12-r1 or higher.

NVD Description

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

The cr_parser_parse_selector_core function in cr-parser.c in libcroco 0.6.12 allows remote attackers to cause a denial of service (infinite loop and CPU consumption) via a crafted CSS file.

CVSS Base Scores

version 3.1