Heap-based buffer overflow in cgit - CVE-2012-4465

 

Heap-based buffer overflow in cgit - CVE-2012-4465

Published: October 10, 2012 / Updated: August 11, 2020


Vulnerability identifier: #VU43403
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-4465
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Heap-based buffer overflow in the substr function in parsing.c in cgit 0.9.0.3 and earlier. A remote attacker can use an empty username in the to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

cgit

How to mitigate CVE-2012-4465

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.


External References

Related Security Bulletins