CVE-2008-3546 Memory corruption in n/a
Local attackers can execute arbitrary code via a stack-based buffer overflow in Git utilities when processing excessively long PATH variables.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2008-3546?
CVE-2008-3546 is a high-severity memory corruption vulnerability in n/a, published on 7 Aug 2008. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Stack-based buffer overflow in the (1) diff_addremove and (2) diff_change functions in GIT before 1.5.6.4 might allow local users to execute arbitrary code via a PATH whose length is larger than the system's PATH_MAX when running GIT utilities such as git-diff or git-grep.
Weakness: CWE-119
Which versions are affected by CVE-2008-3546?
It affects 1 product.
Products include Git Git.
How do I fix CVE-2008-3546?
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-2008-3546 being exploited?
There is no known exploitation of CVE-2008-3546 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2024-32002 Git's recursive clones on case-insensitive filesystems that support symlinks are susceptible to Remote Code Execution
- CVE-2024-52005 The sideband payload is passed unfiltered to the terminal in git
- CVE-2008-5517 Command injection in n/a
- CVE-2006-0477 Memory corruption in n/a
- CVE-2009-2108 Denial of service in n/a
Sources
Also known as DSA-1637-1, DTSA-153-1, DTSA-153-2, GHSA-j9cr-wr26-g3fp.