CVE-2012-4465Lars Hjemli Cgit
Medium 6.5
Follow: this CVE · Lars Hjemli · Lars Hjemli Cgit We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 2.0
- 6.5
- EPSS
- 3.4% probability of exploitation in 30 days · percentile 90
- Auth required
- Yes
- Published
- Oct 10, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
AV:N/AC:L/Au:S/C:P/I:P/A:P
What happens
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.
What to do
- Apply the vendor's security update for Cgit.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| lars_hjemli | cgit | ≤ 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 |
Official sources
References
Links published by the sources. Open them with care.