GNOME Bugzilla – Bug 782647
libcroco 0.6.12 DoS
Last modified: 2020-08-11 15:46:38 UTC
Created attachment 351855 [details] csslint-0.6 --dump-location poc1.css the cr_tknzr_parse_comment function in cr-tknzr.c in libcroco 0.6.12 has a bug that result in a denial of service (memory allocation error), ./csslint-0.6 --dump-location poc1.css ==77826== ERROR: AddressSanitizer failed to allocate 0x40002000 (1073750016) bytes of LargeMmapAllocator: Cannot allocate memory ==77826== Process memory map follows: 0x000000400000-0x0000004fe000 /home/a/Documents/libcroco-0.6.12/csslint/csslint-0.6 0x0000006fd000-0x0000006fe000 /home/a/Documents/libcroco-0.6.12/csslint/csslint-0.6 0x0000006fe000-0x00000070e000 /home/a/Documents/libcroco-0.6.12/csslint/csslint-0.6 ......
This was assigned CVE-2017-8834 according to http://seclists.org/fulldisclosure/2017/Jun/10
Created attachment 374219 [details] [review] Proposed patch.
libcroco is not under development anymore. Its codebase has been archived. Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the responsibility for active development again.