CVE-2012-4465
medium
CVSS v3
—
CVSS v2
6.5
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
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2012-4465
Vendor advisory: secalert@redhat.com — http://secunia.com/advisories/50734
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 0 |
| debian | bullseye | fixed | 0 |
| debian | forky | fixed | 0 |
| debian | sid | fixed | 0 |
| debian | trixie | 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
Verify integrity in audit chain (admin only). AS-IS.