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://exchange.xforce.ibmcloud.com/vulnerabilities/65919
http://openwall.com/lists/oss-security/2011/03/07/3
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