Input validation error in cgit - CVE-2011-1027

 

Input validation error in cgit - CVE-2011-1027

Published: March 20, 2011 / Updated: August 11, 2020


Vulnerability identifier: #VU45181
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2011-1027
CWE-ID: CWE-20
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 perform service disruption.

Off-by-one error in the convert_query_hexchar function in html.c in cgit.cgi in cgit before 0.8.3.5 allows remote attackers to cause a denial of service (infinite loop) via a string composed of a % (percent) character followed by invalid hex characters, as demonstrated by a %gg sequence.


How to mitigate CVE-2011-1027

Install update from vendor's website.

Sources