CVE-2020-12279 Path traversal in n/a
Attackers can achieve remote code execution by exploiting NTFS short name handling during repository cloning in libgit2.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-12279?
CVE-2020-12279 is a critical path traversal vulnerability in Debian Debian Linux, published on 27 Apr 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in libgit2 before 0.28.4 and 0.9x before 0.99.0. checkout.c mishandles equivalent filenames that exist because of NTFS short names. This may allow remote code execution when cloning a repository. This issue is similar to CVE-2019-1353.
Weakness: CWE-706
Which versions are affected by CVE-2020-12279?
It affects 2 products.
Products include Debian Debian Linux, Libgit2 Libgit2.
How do I fix CVE-2020-12279?
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-2020-12279 being exploited?
There is no known exploitation of CVE-2020-12279 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2020-12279, GHSA-589j-mmg9-733v, GHSA-jq74-8pv3-p93c, JLSEC-2025-183, UBUNTU-CVE-2020-12279.