CVE-2011-1027
Lars Hjemli Cgit vulnerability
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.
Affected products
Cgit, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Lars Hjemli Cgit runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/43633 · Vendor Advisory
- secunia.com/advisories/43788 · Vendor Advisory
- hjemli.net/git/cgit/commit/?h=stable&id=fc384b16fb9787380746000d3cea2d53fccc548e · Patch
- lists.fedoraproject.org/pipermail/package-announce/2011-March/055896.html · Patch
- lists.fedoraproject.org/pipermail/package-announce/2011-March/055898.html · Patch
- openwall.com/lists/oss-security/2011/03/07/3 · Patch
- bugzilla.redhat.com/show_bug.cgi?id=680905 · Exploit
- www.securityfocus.com/bid/46756 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2011-1027
- cve.org/CVERecord?id=CVE-2011-1027
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.