{"schemaVersion":3,"id":"CVE-2011-1027","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2011-03-20T01:00:00.000Z","modified":"2024-08-06T22:14:27.171Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03746,"percentile":0.89742,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03746},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03746,"percentile":0.89742}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03746,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03746,"percentile":0.89742}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_F14FAA1114D46DEA","name":"Exploit Reference (securityfocus.com)","source":"reference","url":"http://www.securityfocus.com/bid/46756","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_FEDCA15ABACA136F","name":"Exploit Reference (bugzilla.redhat.com)","source":"reference","url":"https://bugzilla.redhat.com/show_bug.cgi?id=680905","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-193","name":"Off-by-one Error","description":"A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/193.html"}],"affected":[{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"13","noFixRecorded":false,"fixedIn":null},{"text":"14","noFixRecorded":false,"fixedIn":null},{"text":"15","noFixRecorded":false,"fixedIn":null}],"versionsText":"13 | 14 | 15","eol":{"isEol":true,"eolDate":"2011-06-24T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"13","label":"13 (Goddard)","eolFrom":"2011-06-24T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"lars_hjemli","product":"cgit","name":"cgit","label":"cgit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 0.8.3.4","noFixRecorded":false,"fixedIn":null},{"text":"0.1","noFixRecorded":false,"fixedIn":null},{"text":"0.2","noFixRecorded":false,"fixedIn":null},{"text":"0.3","noFixRecorded":false,"fixedIn":null},{"text":"0.4","noFixRecorded":false,"fixedIn":null},{"text":"0.5","noFixRecorded":false,"fixedIn":null},{"text":"0.6","noFixRecorded":false,"fixedIn":null},{"text":"0.6.1","noFixRecorded":false,"fixedIn":null},{"text":"0.6.2","noFixRecorded":false,"fixedIn":null},{"text":"0.6.3","noFixRecorded":false,"fixedIn":null},{"text":"0.7","noFixRecorded":false,"fixedIn":null},{"text":"0.7.1","noFixRecorded":false,"fixedIn":null},{"text":"0.7.2","noFixRecorded":false,"fixedIn":null},{"text":"0.8","noFixRecorded":false,"fixedIn":null},{"text":"0.8.1","noFixRecorded":false,"fixedIn":null},{"text":"0.8.1.1","noFixRecorded":false,"fixedIn":null},{"text":"0.8.2","noFixRecorded":false,"fixedIn":null},{"text":"0.8.2.1","noFixRecorded":false,"fixedIn":null},{"text":"0.8.2.2","noFixRecorded":false,"fixedIn":null},{"text":"0.8.3","noFixRecorded":false,"fixedIn":null},{"text":"0.8.3.1","noFixRecorded":false,"fixedIn":null},{"text":"0.8.3.2","noFixRecorded":false,"fixedIn":null},{"text":"0.8.3.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 0.8.3.4 | 0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.6.1 | 0.6.2 | 0.6.3 | 0.7 | 0.7.1 | 0.7.2 | 0.8 | 0.8.1 | 0.8.1.1 | 0.8.2 | 0.8.2.1 | 0.8.2.2 | 0.8.3 | 0.8.3.1 | 0.8.3.2 | 0.8.3.3","eol":null,"hubHref":"/vendor/lars_hjemli/cgit"}],"affectedCount":2,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055896.html","label":"lists.fedoraproject.org/pipermail/package-announce/2011-March/055896.html","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Mailing List","Patch"]},{"url":"http://www.osvdb.org/71005","label":"www.osvdb.org/71005","hostname":"www.osvdb.org","tags":["VDB Entry","X Refsource OSVDB","Broken Link"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055966.html","label":"lists.fedoraproject.org/pipermail/package-announce/2011-March/055966.html","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Mailing List"]},{"url":"http://www.securityfocus.com/bid/46756","label":"www.securityfocus.com/bid/46756","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Broken Link","Exploit","Third Party Advisory"]},{"url":"http://www.vupen.com/english/advisories/2011/0667","label":"www.vupen.com/english/advisories/2011/0667","hostname":"www.vupen.com","tags":["VDB Entry","X Refsource VUPEN","Broken Link"]},{"url":"http://openwall.com/lists/oss-security/2011/03/07/3","label":"openwall.com/lists/oss-security/2011/03/07/3","hostname":"openwall.com","tags":["Mailing List","X Refsource MLIST","Patch","Third Party Advisory"]},{"url":"http://secunia.com/advisories/43788","label":"secunia.com/advisories/43788","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Broken Link","Vendor Advisory"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055898.html","label":"lists.fedoraproject.org/pipermail/package-announce/2011-March/055898.html","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA","Mailing List","Patch"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/65919","label":"exchange.xforce.ibmcloud.com/vulnerabilities/65919","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF","Third Party Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=680905","label":"bugzilla.redhat.com/show_bug.cgi?id=680905","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","Exploit","Issue Tracking","Patch"]},{"url":"http://secunia.com/advisories/43633","label":"secunia.com/advisories/43633","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Broken Link","Vendor Advisory"]},{"url":"http://article.gmane.org/gmane.comp.version-control.git/168493","label":"article.gmane.org/gmane.comp.version-control.git/168493","hostname":"article.gmane.org","tags":["Mailing List","X Refsource MLIST","Broken Link"]},{"url":"http://hjemli.net/git/cgit/commit/?h=stable&id=fc384b16fb9787380746000d3cea2d53fccc548e","label":"hjemli.net/git/cgit/commit/?h=stable&id=fc384b16fb9787380746000d3cea2d53fccc548e","hostname":"hjemli.net","tags":["X Refsource CONFIRM","Broken Link","Patch"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2011-03-20T01:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T22:14:27.171Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T07:19:30.360Z","stale":false,"partial":false}}