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: 6.9 [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]
CVE-ID: CVE-2011-1027
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

cgit
Fedora
cgit

How to mitigate CVE-2011-1027

Install update from vendor's website.

cgit - addressed in versions 0.9-1.el5, 0.9-1.el6

External References

Related Security Bulletins