GNOME Bugzilla – Bug 554660
Using an entity in entity definition leads to endless loop / DoS possible
Last modified: 2008-10-03 06:56:35 UTC
Steps to reproduce: 1. Create xml file: <?xml version='1.0' ?> <!DOCTYPE test [ <!ENTITY ampproblem '&'> ]> <t a="&problem;">a</t> 2. use xmllint on it 3. xmllint eats up all memory and crashes Stack trace: Other information: Could be related to http://www.securityfocus.com/bid/30783
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3281
Has been confirmed by Gentoo people: http://bugs.gentoo.org/show_bug.cgi?id=239346 http://bugs.gentoo.org/show_bug.cgi?id=234099#c37
Created attachment 119824 [details] [review] patch avoiding problem with predefined entities definitions in entities
Patch is trivial, the bug was added when cleaning up the entities processing in 2.7.x , versions before 2.7.0 are not affected. Fixed in SVN, I will make a new release ASAP, Daniel
Note: that's unrelated to the two links posted in comment #1 or #2
Patch works for me.