Alpine: libcroco: security update to 0.6.12-r2

high Tenable Cloud Security Plugin ID 405143

Description

There are packages installed that are affected by multiple vulnerabilities referenced in the following CVEs:

- The cr_input_new_from_uri function in cr-input.c in libcroco 0.6.11 and 0.6.12 allows remote attackers to
cause a denial of service (heap-based buffer over-read) via a crafted CSS file. (CVE-2017-7960)

- 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.
(CVE-2017-7961)

- The cr_tknzr_parse_comment function in cr-tknzr.c in libcroco 0.6.12 allows remote attackers to cause a
denial of service (memory allocation error) via a crafted CSS file. (CVE-2017-8834)

- 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. (CVE-2017-8871)

See Also

https://security.alpinelinux.org/vuln/CVE-2017-7960

https://security.alpinelinux.org/vuln/CVE-2017-7961

https://security.alpinelinux.org/vuln/CVE-2017-8834

https://security.alpinelinux.org/vuln/CVE-2017-8871

Plugin Details

Severity: High

ID: 405143

Version: Revision 1.25

Type: Local

Published: 10/31/2023

Updated: 7/2/2026

Supported Sensors: Agentless Assessment, Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2017-7961

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 4/19/2017

Reference Information

CVE: CVE-2017-7960, CVE-2017-7961, CVE-2017-8834, CVE-2017-8871