Buffer overflow in Lars Hjemli Cgit
CVE-2012-4465
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.5 (Medium). Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.034, 89.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Lars Hjemli Cgit — versions 0.1, 0.2, 0.3
Weakness classification (CWE)
References
- [oss-security] 20120930 cgit: heap buffer overflow (mailing-list)
- git.zx2c4.com/cgit/commit/
- [cgit] 20120703 avoid stack-smash when processing unusual commit (mailing-list)
- bugzilla.redhat.com/show_bug.cgi
- secunia.com/advisories/50734 (third-party-advisory, Vendor Advisory)
- www.securityfocus.com/bid/55724 (vdb-entry)
- [oss-security] 20121003 Re: cgit: heap buffer overflow (mailing-list)