CVE-2012-4465
Lars Hjemli Cgit vulnerability
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 products
Cgit. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Lars Hjemli Cgit runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- secunia.com/advisories/50734 · Vendor Advisory
- git.zx2c4.com/cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec
- hjemli.net/pipermail/cgit/2012-July/000652.html
- 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
- nvd.nist.gov/vuln/detail/CVE-2012-4465
- cve.org/CVERecord?id=CVE-2012-4465
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.