CVE-2012-4465: cgit - Buffer Overflow
- Cve: CVE-2012-4465
- Name: cgit - Buffer Overflow
- 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.
- Impact: Attackers can cause a denial of service or execute arbitrary code remotely by exploiting this buffer overflow.
- Remediation: Update to version 0.9.0.4 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs authenticated access
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:2.0/AV:N/AC:L/Au:S/C:P/I:P/A:P
- Epss score: 0.03383
- Epss percentile: 0.89097
- Assignee: [email protected]
- Published at: 2012-10-10T18:55:05Z
- Age in days: 5158
- Modified at: 2026-06-16T23:45:09Z
- References total: 7
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-4465
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| lars_hjemli:cgit | <= 0.9.0.3, = 0.9.0.2, = 0.9.0.1, = 0.9, = 0.8.3.5, = 0.8.3.4, = 0.8.3.3, = 0.8.3.2, = 0.8.3.1, = 0.8.3, = 0.8.2.2, = 0.8.2.1, = 0.8.2, = 0.8.1.1, = 0.8.1, = 0.8, = 0.7.2, = 0.7.1, = 0.7, = 0.6.3, = 0.6.2, = 0.6.1, = 0.6, = 0.5, = 0.4, = 0.3, = 0.2, = 0.1 | no | nvd | /v1/products/lars_hjemli/cgit |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts