CVE-2011-1027Lars Hjemli Cgit
Medium 5.0 No auth needed
Follow: this CVE · Lars Hjemli · Lars Hjemli Cgit We alert you by email or Slack (account required).
- Priority
- 45
- CVSS 2.0
- 5.0
- EPSS
- 3.7% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Mar 20, 2011
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-193
- Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
What happens
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.
What to do
- Apply the vendor's security update for Cgit.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| lars_hjemli | cgit | ≤ 0.8.3.4 |
| lars_hjemli | cgit | 0.1 |
| lars_hjemli | cgit | 0.2 |
| lars_hjemli | cgit | 0.3 |
| lars_hjemli | cgit | 0.4 |
| lars_hjemli | cgit | 0.5 |
| lars_hjemli | cgit | 0.6 |
| lars_hjemli | cgit | 0.6.1 |
| lars_hjemli | cgit | 0.6.2 |
| lars_hjemli | cgit | 0.6.3 |
| lars_hjemli | cgit | 0.7 |
| lars_hjemli | cgit | 0.7.1 |
| lars_hjemli | cgit | 0.7.2 |
| lars_hjemli | cgit | 0.8 |
| lars_hjemli | cgit | 0.8.1 |
| lars_hjemli | cgit | 0.8.1.1 |
| lars_hjemli | cgit | 0.8.2 |
| lars_hjemli | cgit | 0.8.2.1 |
| lars_hjemli | cgit | 0.8.2.2 |
| lars_hjemli | cgit | 0.8.3 |
| lars_hjemli | cgit | 0.8.3.1 |
| lars_hjemli | cgit | 0.8.3.2 |
| lars_hjemli | cgit | 0.8.3.3 |
| fedoraproject | fedora | 13 |
| fedoraproject | fedora | 14 |
| fedoraproject | fedora | 15 |
Official sources
References
Links published by the sources. Open them with care.
- article.gmane.org Broken Link
- hjemli.net Broken Link Patch
- lists.fedoraproject.org Mailing List Patch
- lists.fedoraproject.org Mailing List Patch
- lists.fedoraproject.org Mailing List
- openwall.com Mailing List Patch Third Party Advisory
- secunia.com Broken Link Vendor Advisory
- secunia.com Broken Link Vendor Advisory
- www.osvdb.org Broken Link
- www.securityfocus.com Broken Link Exploit Third Party Advisory
- www.vupen.com Broken Link
- bugzilla.redhat.com Exploit Issue Tracking Patch
- exchange.xforce.ibmcloud.com Third Party Advisory VDB Entry