CVE-2011-1027

Summary

CVECVE-2011-1027
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2011-03-20 02:00:04 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionOff-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.

Risk And Classification

Primary CVSS: v2.0 5 from [email protected]

AV:N/AC:L/Au:N/C:N/I:N/A:P

Problem Types: CWE-193 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
None
Integrity
None
Availability
Partial

AV:N/AC:L/Au:N/C:N/I:N/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 13 All All All
Operating System Fedoraproject Fedora 14 All All All
Operating System Fedoraproject Fedora 15 All All All
Application Lars Hjemli Cgit 0.1 All All All
Application Lars Hjemli Cgit 0.2 All All All
Application Lars Hjemli Cgit 0.3 All All All
Application Lars Hjemli Cgit 0.4 All All All
Application Lars Hjemli Cgit 0.5 All All All
Application Lars Hjemli Cgit 0.6 All All All
Application Lars Hjemli Cgit 0.6.1 All All All
Application Lars Hjemli Cgit 0.6.2 All All All
Application Lars Hjemli Cgit 0.6.3 All All All
Application Lars Hjemli Cgit 0.7 All All All
Application Lars Hjemli Cgit 0.7.1 All All All
Application Lars Hjemli Cgit 0.7.2 All All All
Application Lars Hjemli Cgit 0.8 All All All
Application Lars Hjemli Cgit 0.8.1 All All All
Application Lars Hjemli Cgit 0.8.1.1 All All All
Application Lars Hjemli Cgit 0.8.2 All All All
Application Lars Hjemli Cgit 0.8.2.1 All All All
Application Lars Hjemli Cgit 0.8.2.2 All All All
Application Lars Hjemli Cgit 0.8.3 All All All
Application Lars Hjemli Cgit 0.8.3.1 All All All
Application Lars Hjemli Cgit 0.8.3.2 All All All
Application Lars Hjemli Cgit 0.8.3.3 All All All
Application Lars Hjemli Cgit All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Webmail - OVH af854a3a-2127-422b-91ae-364da2661108 www.vupen.com Broken Link
oss-security - cgit convert_query_hexchar infinite loop (CVE-2011-1027) af854a3a-2127-422b-91ae-364da2661108 openwall.com Mailing List, Patch, Third Party Advisory
Gmane -- Mail To News And Back Again af854a3a-2127-422b-91ae-364da2661108 article.gmane.org Broken Link
[SECURITY] Fedora 14 Update: cgit-0.9-1.fc14 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Mailing List, Patch
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com Third Party Advisory, VDB Entry
cgit 'convert_query_hexchar()' Remote Denial of Service Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Broken Link, Exploit, Third Party Advisory, VDB Entry
www.osvdb.org/71005 af854a3a-2127-422b-91ae-364da2661108 www.osvdb.org Broken Link
Fedora update for cgit - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link, Vendor Advisory
cgit "convert_query_hexchar()" Infinite Loop Denial of Service - Secunia.com af854a3a-2127-422b-91ae-364da2661108 secunia.com Broken Link, Vendor Advisory
[SECURITY] Fedora 15 Update: cgit-0.9-1.fc15 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Mailing List
680905 – (CVE-2011-1027) CVE-2011-1027 cgit: invalid hex escape (e.g., %GG) in query triggers infinite loop af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Exploit, Issue Tracking, Patch
cgit - a web frontend for git repositories af854a3a-2127-422b-91ae-364da2661108 hjemli.net Broken Link, Patch
[SECURITY] Fedora 13 Update: cgit-0.9-1.fc13 af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org Mailing List, Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report