Off-by-one error in the convert_query_hexchar function in html.c in cgit.cgi in cgit before 0.8.3.5 allows remote attackers to cause a denial of service (infinite loop) via a string composed of a % (percent) character followed by invalid hex characters, as demonstrated by a %gg sequence.
https://euvd.enisa.europa.eu/vulnerability/EUVD-2011-1044
https://bugzilla.redhat.com/show_bug.cgi?id=680905
http://www.vupen.com/english/advisories/2011/0667
http://www.securityfocus.com/bid/46756
http://secunia.com/advisories/43788
http://secunia.com/advisories/43633
http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055966.html
http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055898.html
http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055896.html
http://hjemli.net/git/cgit/commit/?h=stable&id=fc384b16fb9787380746000d3cea2d53fccc548e
http://article.gmane.org/gmane.comp.version-control.git/168493