Buffer overflow in cgit - CVE-2016-1901

 

Buffer overflow in cgit - CVE-2016-1901

Published: January 20, 2016 / Updated: July 28, 2020


Vulnerability identifier: #VU32343
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2016-1901
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Jason A. Donenfeld
Affected software:
cgit

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

Integer overflow in the authenticate_post function in CGit before 0.12 allows remote attackers to have unspecified impact via a large value in the Content-Length HTTP header, which triggers a buffer overflow.


How to mitigate CVE-2016-1901

Install update from vendor's website.

Sources