CVE-2012-4465 Heap-based buffer overflow in the substr function in parsing.c in cgit 0.9.0.3 and earlier allows remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code vi...
MediumCVSS 6.5
EPSS 3.4%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Heap-based buffer overflow in the substr function in parsing.c in cgit 0.9.0.3 and earlier allows remote authenticated users to cause a denial of service (crash) and possibly execute arbitrary code via an empty username in the "Author" field in a commit.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| lars hjemli cgit | <= 0.9.0.3 | No fix listed |
| lars hjemli cgit | = 0.1 | No fix listed |
| lars hjemli cgit | = 0.2 | No fix listed |
| lars hjemli cgit | = 0.3 | No fix listed |
| lars hjemli cgit | = 0.4 | No fix listed |
| lars hjemli cgit | = 0.5 | No fix listed |
| lars hjemli cgit | = 0.6 | No fix listed |
| lars hjemli cgit | = 0.6.1 | No fix listed |
| lars hjemli cgit | = 0.6.2 | No fix listed |
| lars hjemli cgit | = 0.6.3 | No fix listed |
| lars hjemli cgit | = 0.7 | No fix listed |
| lars hjemli cgit | = 0.7.1 | No fix listed |
| lars hjemli cgit | = 0.7.2 | No fix listed |
| lars hjemli cgit | = 0.8 | No fix listed |
| lars hjemli cgit | = 0.8.1 | No fix listed |
| lars hjemli cgit | = 0.8.1.1 | No fix listed |
| lars hjemli cgit | = 0.8.2 | No fix listed |
| lars hjemli cgit | = 0.8.2.1 | No fix listed |
| lars hjemli cgit | = 0.8.2.2 | No fix listed |
| lars hjemli cgit | = 0.8.3 | No fix listed |
| lars hjemli cgit | = 0.8.3.1 | No fix listed |
| lars hjemli cgit | = 0.8.3.2 | No fix listed |
| lars hjemli cgit | = 0.8.3.3 | No fix listed |
| lars hjemli cgit | = 0.8.3.4 | No fix listed |
| lars hjemli cgit | = 0.8.3.5 | No fix listed |
Show 3 more
| Product | Affected versions | Fixed in |
|---|---|---|
| lars hjemli cgit | = 0.9 | No fix listed |
| lars hjemli cgit | = 0.9.0.1 | No fix listed |
| lars hjemli cgit | = 0.9.0.2 | No fix listed |
References
- git.zx2c4.com
- [cgit] 20120703 avoid stack-smash when processing unusual commit mailing-list
- 50734 third-party-advisory vendor-advisory
- [oss-security] 20120930 cgit: heap buffer overflow mailing-list
- [oss-security] 20121003 Re: cgit: heap buffer overflow mailing-list
- 55724 vdb-entry
- bugzilla.redhat.com
- Debian Security Tracker CVE-2012-4465 vendor-advisory