CVE-2012-4465
medium
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
6.5
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.
Predictions
Exploit likelihood
20%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 0 |
| sid | Fixed | 0 |
| forky | Fixed | 0 |
| bullseye | Fixed | 0 |
| bookworm | Fixed | 0 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| lars_hjemli | cgit | {"endIncluding":"0.9.0.3"} | |
| 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 | |
| lars_hjemli | cgit | 0.8.3.4 | |
| lars_hjemli | cgit | 0.8.3.5 | |
| lars_hjemli | cgit | 0.9 | |
| lars_hjemli | cgit | 0.9.0.1 | |
| lars_hjemli | cgit | 0.9.0.2 | |
References
- http://git.zx2c4.com/cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec
- http://hjemli.net/pipermail/cgit/2012-July/000652.html
- http://secunia.com/advisories/50734
- http://www.openwall.com/lists/oss-security/2012/09/30/1
- http://www.openwall.com/lists/oss-security/2012/10/03/7
- http://www.securityfocus.com/bid/55724
- https://bugzilla.redhat.com/show_bug.cgi?id=820733
- https://security-tracker.debian.org/tracker/CVE-2012-4465
CWEs
CWE-119
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.