libcroco: Multiple vulnerabilities (CVE-2017-7960, CVE-2017-7961, CVE-2017-8834, CVE-2017-8871)
CVE-2017-7960: 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.
References:
https://nvd.nist.gov/vuln/detail/CVE-2017-7960
https://blogs.gentoo.org/ago/2017/04/17/libcroco-heap-overflow-and-undefined-behavior/
Patch:
https://git.gnome.org/browse/libcroco/commit/?id=898e3a8c8c0314d2e6b106809a8e3e93cf9d4394
CVE-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 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.
References:
https://blogs.gentoo.org/ago/2017/04/17/libcroco-heap-overflow-and-undefined-behavior/
Patch:
https://git.gnome.org/browse/libcroco/commit/?id=9ad72875e9f08e4c519ef63d44cdbd94aa9504f7
CVE-2017-8834: 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.
References:
https://bugzilla.gnome.org/show\_bug.cgi?id=782647
https://nvd.nist.gov/vuln/detail/CVE-2017-8834
CVE-2017-8871: 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.
References:
https://bugzilla.gnome.org/show\_bug.cgi?id=782649
https://nvd.nist.gov/vuln/detail/CVE-2017-8871
(from redmine: issue id 10563, created on 2019-06-13)
- Relations:
- child #10564 (closed)
- child #10565 (closed)
- child #10566 (closed)