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.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
http://www.openwall.com/lists/oss-security/2012/09/30/1 | mailing list |
http://git.zx2c4.com/cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec | |
http://hjemli.net/pipermail/cgit/2012-July/000652.html | mailing list |
https://bugzilla.redhat.com/show_bug.cgi?id=820733 | |
http://secunia.com/advisories/50734 | third party advisory vendor advisory |
http://www.securityfocus.com/bid/55724 | vdb entry |
http://www.openwall.com/lists/oss-security/2012/10/03/7 | mailing list |