CVE-2012-4465 Memory corruption in n/a
Remote authenticated users can trigger a heap-based buffer overflow in cgit via a crafted commit author field, causing a crash or potential code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-4465?
CVE-2012-4465 is a medium-severity memory corruption vulnerability in n/a, published on 10 Oct 2012. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-119
Which versions are affected by CVE-2012-4465?
It affects 1 product.
Products include Lars Hjemli Cgit.
How do I fix CVE-2012-4465?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2012-4465 being exploited?
There is no known exploitation of CVE-2012-4465 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-79m9-fj96-r8q8.