Skip to content
OpenAdvisories
High · 7.8 CVE-2017-7961 EUVD-2017-16931GHSA-w464-8qjc-r5gx

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"…

Published Apr 19, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 7 libcroco 0.6.6-2+deb7u1 DLA-909-1
ReleasePackageFixed inAdvisory
SLES 12 SP4 libcroco 0.6.11-12.3.1 SUSE-SU-2019:1468-1
SLES 12 SP3 libcroco 0.6.11-12.3.1 SUSE-SU-2019:1468-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP4 libcroco 0.6.11-12.3.1 SUSE-SU-2019:1468-1
SLES for SAP 12 SP3 libcroco 0.6.11-12.3.1 SUSE-SU-2019:1468-1
ReleasePackageFixed inAdvisory
Alpine v3.11 libcroco 0.6.13-r1 —
Alpine v3.10 libcroco 0.6.13-r1 —
Alpine v3.9 libcroco 0.6.12-r2 —
Alpine v3.8 libcroco 0.6.12-r2 —
Alpine v3.7 libcroco 0.6.12-r1 —

Advisories 2

References