CVE-2012-4465
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with a login. Limited direct impact.
- Exploit odds
- 3.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.4% in the next 30 days (EPSS).
- Severity: 6.5 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.4% · EPSS, next 30 days
- Weakness
- CWE-119 · Buffer errors
- Record status
- Modified
Affected
- 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
Attack profile CVSS 2.0 · 6.5
- Attack vector
- Network
- Complexity
- Low
- Authentication
- Single
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:S/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-4465.md and follow it. Check whether this project is affected by CVE-2012-4465. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://git.zx2c4.com/cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec
- http://secunia.com/advisories/50734
- http://git.zx2c4.com/cgit/commit/?id=7757d1b046ecb67b830151d20715c658867df1ec
- http://secunia.com/advisories/50734
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
- 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