CVE-2011-1027 json
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 deni…
published 2011-03-20 15 y ago modified 2026-06-16 4 mo ago also EUVD-2011-1044
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.7%
- EPSS 3.7% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- hjemli.net/git/cgit/commit/?h=stable&id=fc384b16fb9787380746000d3cea2… commit
- bugzilla.redhat.com/show_bug.cgi?id=680905 patch
- lists.fedoraproject.org/pipermail/package-announce/2011-March/055896.html advisory
- lists.fedoraproject.org/pipermail/package-announce/2011-March/055898.html advisory
- openwall.com/lists/oss-security/2011/03/07/3 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2011-1027 updated cvss 5.0
cgit: invalid hex escape (e.g., %GG) in query triggers infinite loop
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.75% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=680905 referenced PoC, tagged "exploit" by a source, unverified
- securityfocus.com http://www.securityfocus.com/bid/46756 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-193 Off-by-one Error
References
-
hjemli.net
/git/cgit/commit/?h=stable&id=fc384b16fb9787380746000d3cea2d53fccc548e
broken-link, patch
-
lists.fedoraproject.org
/pipermail/package-announce/2011-March/055896.html
vendor-advisory, mailing-list, patch
-
lists.fedoraproject.org
/pipermail/package-announce/2011-March/055898.html
vendor-advisory, mailing-list, patch
-
openwall.com
/lists/oss-security/2011/03/07/3
mailing-list, patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=680905
exploit, issue-tracking, patch
-
securityfocus.com
/bid/46756
vdb-entry, broken-link, exploit, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2011-March/055966.html
vendor-advisory, mailing-list
-
secunia.com
/advisories/43788
third-party-advisory, broken-link, vendor-advisory
-
secunia.com
/advisories/43633
third-party-advisory, broken-link, vendor-advisory
-
osvdb.org
/71005
vdb-entry, broken-link
-
vupen.com
/english/advisories/2011/0667
vdb-entry, broken-link
-
exchange.xforce.ibmcloud.com
/vulnerabilities/65919
vdb-entry, third-party-advisory
-
article.gmane.org
/gmane.comp.version-control.git/168493
mailing-list, broken-link
Sources
- CVE List CVE-2011-1027
- NVD CVE-2011-1027
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.