Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gnome | Libcroco | 0.6.11 |
Related Weaknesses (CWE)
References
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00043.html
- http://openwall.com/lists/oss-security/2017/04/24/2Mailing ListPatchThird Party Advisory
- https://blogs.gentoo.org/ago/2017/04/17/libcroco-heap-overflow-and-undefined-behExploitPatchThird Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1034482Issue TrackingPatchThird Party Advisory
- https://git.gnome.org/browse/libcroco/commit/?id=9ad72875e9f08e4c519ef63d44cdbd9Issue TrackingPatchThird Party Advisory
- https://security.gentoo.org/glsa/201707-13Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00043.html
- http://openwall.com/lists/oss-security/2017/04/24/2Mailing ListPatchThird Party Advisory
- https://blogs.gentoo.org/ago/2017/04/17/libcroco-heap-overflow-and-undefined-behExploitPatchThird Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1034482Issue TrackingPatchThird Party Advisory
- https://git.gnome.org/browse/libcroco/commit/?id=9ad72875e9f08e4c519ef63d44cdbd9Issue TrackingPatchThird Party Advisory
- https://security.gentoo.org/glsa/201707-13Third Party Advisory
FAQ
What is CVE-2017-7961?
CVE-2017-7961 is a vulnerability with a CVSS score of 7.8 (HIGH). 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...
How severe is CVE-2017-7961?
CVE-2017-7961 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-7961?
Check the references section above for vendor advisories and patch information. Affected products include: Gnome Libcroco.