CVE-2012-4465

high

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.

References

https://bugzilla.redhat.com/show_bug.cgi?id=820733

http://www.securityfocus.com/bid/55724

http://www.openwall.com/lists/oss-security/2012/10/03/7

http://www.openwall.com/lists/oss-security/2012/09/30/1

http://secunia.com/advisories/50734

http://hjemli.net/pipermail/cgit/2012-July/000652.html

http://git.zx2c4.com/cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec

Details

Source: Mitre, NVD

Published: 2012-10-10

Updated: 2025-04-11

Risk Information

CVSS v2

Base Score: 6.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High

EPSS

EPSS: 0.03459