CVE-2017-7961
Last modified
CVE-2017-7961 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 1.97% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gnome | Libcroco | 0.6.11 |
| Gnome | Libcroco | 0.6.12 |
References
- http://openwall.com/lists/oss-security/2017/04/24/2Mailing List, Patch, Third Party Advisory
- https://blogs.gentoo.org/ago/2017/04/17/libcroco-heap-overflow-and-undefined-behavior/Exploit, Patch, Third Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1034482Issue Tracking, Patch, Third Party Advisory
- https://git.gnome.org/browse/libcroco/commit/?id=9ad72875e9f08e4c519ef63d44cdbd94aa9504f7Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201707-13Third Party Advisory
- http://openwall.com/lists/oss-security/2017/04/24/2Mailing List, Patch, Third Party Advisory
- https://blogs.gentoo.org/ago/2017/04/17/libcroco-heap-overflow-and-undefined-behavior/Exploit, Patch, Third Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1034482Issue Tracking, Patch, Third Party Advisory
- https://git.gnome.org/browse/libcroco/commit/?id=9ad72875e9f08e4c519ef63d44cdbd94aa9504f7Issue Tracking, Patch, Third Party Advisory
- https://security.gentoo.org/glsa/201707-13Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-7961?
How severe is CVE-2017-7961?
How do I fix CVE-2017-7961?
Are you affected by CVE-2017-7961?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
