Heap-based buffer overflow in the substr function in parsing.c in cgit 0.9.0.3 and earlier allows remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code via an empty username in the “Author” field in a commit.
git.zx2c4.com/cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec
hjemli.net/pipermail/cgit/2012-July/000652.html
secunia.com/advisories/50734
www.openwall.com/lists/oss-security/2012/09/30/1
www.openwall.com/lists/oss-security/2012/10/03/7
www.securityfocus.com/bid/55724
bugzilla.redhat.com/show_bug.cgi?id=820733