CVE-2012-6114 Path traversal in git-extras
Local attackers can overwrite arbitrary files via symlink attacks on temporary files in the git-changelog utility.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-6114?
CVE-2012-6114 is a medium-severity path traversal vulnerability in git-extras, published on 28 Jan 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The git-changelog utility in git-extras 1.7.0 allows local users to overwrite arbitrary files via a symlink attack on (1) /tmp/changelog or (2) /tmp/.git-effort.
Weakness: CWE-59
Which versions are affected by CVE-2012-6114?
It affects 1 product.
Products include Git-Extras Project Git-Extras.
How do I fix CVE-2012-6114?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2012-6114 being exploited?
There is no known exploitation of CVE-2012-6114 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2012-6114, GHSA-fwg3-g57x-c324.