CVEvulnerability
CVE-2012-4465
6.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2012-10-10
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 6.5 MEDIUM — AV:N/AC:L/Au:S/C:P/I:P/A:P
- Weaknesses
- CWE-119
Description
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.
Affected configurations
• lars hjemli cgit (<= 0.9.0.3)
• lars hjemli cgit 0.1
• lars hjemli cgit 0.2
• lars hjemli cgit 0.3
• lars hjemli cgit 0.4
• lars hjemli cgit 0.5
• lars hjemli cgit 0.6
• lars hjemli cgit 0.6.1
• lars hjemli cgit 0.6.2
• lars hjemli cgit 0.6.3
• lars hjemli cgit 0.7
• lars hjemli cgit 0.7.1
• lars hjemli cgit 0.7.2
• lars hjemli cgit 0.8
• lars hjemli cgit 0.8.1
• lars hjemli cgit 0.8.1.1
• lars hjemli cgit 0.8.2
• lars hjemli cgit 0.8.2.1
• lars hjemli cgit 0.8.2.2
• lars hjemli cgit 0.8.3
• lars hjemli cgit 0.8.3.1
• lars hjemli cgit 0.8.3.2
• lars hjemli cgit 0.8.3.3
• lars hjemli cgit 0.8.3.4
• lars hjemli cgit 0.8.3.5
• lars hjemli cgit 0.9
• lars hjemli cgit 0.9.0.1
• lars hjemli cgit 0.9.0.2
Related
Weakness · CWE (1)
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
References
- http://git.zx2c4.com/cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec git.zx2c4.com
- http://hjemli.net/pipermail/cgit/2012-July/000652.html hjemli.net
- http://secunia.com/advisories/50734 Vendor Advisory
- http://www.openwall.com/lists/oss-security/2012/09/30/1 www.openwall.com
- http://www.openwall.com/lists/oss-security/2012/10/03/7 www.openwall.com
- http://www.securityfocus.com/bid/55724 www.securityfocus.com
- https://bugzilla.redhat.com/show_bug.cgi?id=820733 bugzilla.redhat.com
- http://git.zx2c4.com/cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec git.zx2c4.com
- http://hjemli.net/pipermail/cgit/2012-July/000652.html hjemli.net
- http://secunia.com/advisories/50734 Vendor Advisory
- http://www.openwall.com/lists/oss-security/2012/09/30/1 www.openwall.com
- http://www.openwall.com/lists/oss-security/2012/10/03/7 www.openwall.com
- http://www.securityfocus.com/bid/55724 www.securityfocus.com
- https://bugzilla.redhat.com/show_bug.cgi?id=820733 bugzilla.redhat.com