CVE-2017-7961
published 2017-04-19CVE-2017-7961: 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…
PriorityP431high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
1.97%
77.9th percentile
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.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| gnome | libcroco | — | — |
| gnome | libcroco | — | — |
| gnome | libcroco | >= 0 < 0.6.13-r1 | 0.6.13-r1 |
| gnome | libcroco | >= 0 < 0.6.13-r1 | 0.6.13-r1 |
| gnome | libcroco | >= 0 < 0.6.12-r1 | 0.6.12-r1 |
| gnome | libcroco | >= 0 < 0.6.12-r2 | 0.6.12-r2 |
| gnome | libcroco | >= 0 < 0.6.12-r2 | 0.6.12-r2 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-w464-8qjc-r5gx: ** DISPUTED ** The cr_tknzr_parse_rgb function in cr-tknzr
ghsa_unreviewed·2022-05-14
CVE-2017-7961 [HIGH] CWE-119 GHSA-w464-8qjc-r5gx: ** DISPUTED ** The cr_tknzr_parse_rgb function in cr-tknzr
** DISPUTED ** 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."
OSV
CVE-2017-7961: The cr_tknzr_parse_rgb function in cr-tknzr
osv·2017-04-19·CVSS 7.8
CVE-2017-7961 [HIGH] CVE-2017-7961: The cr_tknzr_parse_rgb function in cr-tknzr
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.
Red Hat
libcroco: Undefined behavior issue in cr_tknzr_parse_rgb function
vendor_redhat·2017-04-16·CVSS 7.8
CVE-2017-7961 [HIGH] libcroco: Undefined behavior issue in cr_tknzr_parse_rgb function
libcroco: Undefined behavior issue in cr_tknzr_parse_rgb function
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.
Package: libcroco (Red Hat Enterprise Linux 5) - Will not fix
Package: libcroco (Red Hat Enterprise Linux 6) - Will not fix
Package: libcroco (Red Hat Enterprise Linux 7) - Will not fix
Package: libcroco
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-7961 libcroco: Undefined behavior issue in cr_tknzr_parse_rgb function [fedora-all]
bugzilla·2017-05-11·CVSS 7.8
CVE-2017-7961 [HIGH] CVE-2017-7961 libcroco: Undefined behavior issue in cr_tknzr_parse_rgb function [fedora-all]
CVE-2017-7961 libcroco: Undefined behavior issue in cr_tknzr_parse_rgb function [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple sup
Bugzilla
CVE-2017-7961 libcroco: Undefined behavior issue in cr_tknzr_parse_rgb function
bugzilla·2017-05-11·CVSS 7.8
CVE-2017-7961 [HIGH] CVE-2017-7961 libcroco: Undefined behavior issue in cr_tknzr_parse_rgb function
CVE-2017-7961 libcroco: Undefined behavior issue in cr_tknzr_parse_rgb function
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.
Upstream patch:
https://git.gnome.org/browse/libcroco/commit/?id=9ad72875e9f08e4c519ef63d44cdbd94aa9504f7
Reference:
https://blogs.gentoo.org/ago/2017/04/17/libcroco-heap-overflow-and-undefined-behavior/
Discussion:
Created libcroco tracking bugs for this issue:
Affects: fedora-all [bug 1450070]
Created mingw-libcroco tracking bugs for this issue:
Affects: fedora-all [bug 1450069]
Bugzilla
CVE-2017-7961 mingw-libcroco: libcroco: Undefined behavior issue in cr_tknzr_parse_rgb function [fedora-all]
bugzilla·2017-05-11·CVSS 7.8
CVE-2017-7961 [HIGH] CVE-2017-7961 mingw-libcroco: libcroco: Undefined behavior issue in cr_tknzr_parse_rgb function [fedora-all]
CVE-2017-7961 mingw-libcroco: libcroco: Undefined behavior issue in cr_tknzr_parse_rgb function [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affe
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00043.htmlhttp://openwall.com/lists/oss-security/2017/04/24/2https://blogs.gentoo.org/ago/2017/04/17/libcroco-heap-overflow-and-undefined-behavior/https://bugzilla.suse.com/show_bug.cgi?id=1034482https://git.gnome.org/browse/libcroco/commit/?id=9ad72875e9f08e4c519ef63d44cdbd94aa9504f7https://security.gentoo.org/glsa/201707-13http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00043.htmlhttp://openwall.com/lists/oss-security/2017/04/24/2https://blogs.gentoo.org/ago/2017/04/17/libcroco-heap-overflow-and-undefined-behavior/https://bugzilla.suse.com/show_bug.cgi?id=1034482https://git.gnome.org/browse/libcroco/commit/?id=9ad72875e9f08e4c519ef63d44cdbd94aa9504f7https://security.gentoo.org/glsa/201707-13
2017-04-19
Published