PT-2011-2819 · Cgit · Cgit

Jim Meyering

·

Published

2011-03-20

·

Updated

2023-12-22

·

CVE-2011-1027

CVSS v2.0

5.0

Medium

VectorAV:N/AC:L/Au:N/C:N/I:N/A:P
Name of the Vulnerable Software and Affected Versions cgit versions prior to 0.8.3.5
Description The issue is caused by an off-by-one error in the convert query hexchar function in html.c in cgit.cgi. This allows remote attackers to cause a denial of service (infinite loop) via a string composed of a % (percent) character followed by invalid hex characters, such as a %gg sequence.
Recommendations For versions prior to 0.8.3.5, update to version 0.8.3.5 or later to resolve the issue. As a temporary workaround, consider restricting input to prevent strings with a % (percent) character followed by invalid hex characters from being processed by the convert query hexchar function.

Exploit

Fix

DoS

Weakness Enumeration

Related Identifiers

CVE-2011-1027

Affected Products

Cgit