CVE-2020-12279
publishedlibgit2: NTFS protections inactive when running Git in the Windows Subsystem for Linux
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | buster | libgit2 | Advisory build | 0.27.7+dfsg.1-0.2+deb10u1 | DLA-3340-1 |
| Ubuntu | bionic | libgit2 | Advisory build | 0.26.0+dfsg.1-1.1ubuntu0.2+esm1 | USN-6678-1 |
| Debian | stretch | libgit2 | Advisory build | 0.25.1+really0.24.6-1+deb9u1 | DLA-2936-1 |
| Ubuntu | bionic | libgit2-26 | Advisory build | 0.26.0+dfsg.1-1.1ubuntu0.2+esm1 | USN-6678-1 |
| Ubuntu | xenial | libgit2 | Advisory build | 0.24.1-2ubuntu0.2+esm2 | USN-6678-1 |
| Ubuntu | xenial | libgit2-24 | Advisory build | 0.24.1-2ubuntu0.2+esm2 | USN-6678-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
6- https://github.com/git/git/security/advisories/GHSA-589j-mmg9-733v
- https://github.com/libgit2/libgit2/commit/64c612cc3e25eff5fb02c59ef5a66ba7a14751e4
- https://github.com/libgit2/libgit2/releases/tag/v0.28.4
- https://github.com/libgit2/libgit2/releases/tag/v0.99.0
- [debian-lts-announce] 20220321 [SECURITY] [DLA 2936-1] libgit2 security update https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html
- [debian-lts-announce] 20230223 [SECURITY] [DLA 3340-1] libgit2 security update https://lists.debian.org/debian-lts-announce/2023/02/msg00034.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ec66bbd26ec5724074dc0ca2be0232fa351c583d491d0f3006f4e77754100e32
- Ingested
- 23 Sep 2026, 07:48:27 UTC
- Source record
- Official CVE record