Out-of-Bounds Affecting libcroco package, versions <0.6.13-r1


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.47% (76th 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-ALPINE310-LIBCROCO-458508
  • published19 Apr 2017
  • disclosed19 Apr 2017

Introduced: 19 Apr 2017

CVE-2017-7961  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Alpine:3.10 libcroco to version 0.6.13-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.10 relevant fixed versions and status.

The cr_tknzr_parse_rgb function in cr-tknzr.c in libcroco 0.6.11 and 0.6.12 has an "outside the range of representable values of type long" undefined behavior issue, which might allow remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact via a crafted CSS file. NOTE: third-party analysis reports "This is not a security issue in my view. The conversion surely is truncating the double into a long value, but there is no impact as the value is one of the RGB components.