
CVE catalog
CVE-2020-12278
libgit2: CVE-2020-12278
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 5.24% · Oct 25, 2026
An issue was discovered in libgit2 before 0.28.4 and 0.9x before 0.99.0. path.c mishandles equivalent filenames that exist because of NTFS Alternate Data Streams. This may allow remote code execution when cloning a repository. This issue is similar to CVE-2019-1352.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libgit2 | sid | 1.9.7+ds-1 | fixed |
| Debian | libgit2 | forky | 1.9.7+ds-1 | fixed |
| Debian | libgit2 | trixie | 1.9.0+ds-2+deb13u1 | fixed |
| Debian | libgit2 | trixie-security | 1.9.0+ds-2+deb13u1 | fixed |
| Debian | libgit2 | bookworm | 1.5.1+ds-1+deb12u1 | fixed |
| Debian | libgit2 | bookworm-security | 1.5.1+ds-1+deb12u2 | fixed |
| Ubuntu | libgit2 | pro | 0.25.1+really0.24.6-1 | vulnerable |
| Ubuntu | libgit2 | pro | 0.26.0+dfsg.1-1.1 | vulnerable |
| Ubuntu | libgit2 | pro | 0.26.0+dfsg.1-1.1build1 | vulnerable |
| Ubuntu | libgit2 | pro | 0.26.0+dfsg.1-1.1ubuntu0.2 | vulnerable |
| Ubuntu | libgit2 | pro | 0.26.0+dfsg.1-1.1ubuntu0.2+esm1 | fixed |
| Ubuntu | libgit2 | pro | 0.25.1+really0.24.6-1 | vulnerable |
| Ubuntu | libgit2 | pro | 0.26.0+dfsg.1-1.1 | vulnerable |
| Ubuntu | libgit2 | pro | 0.26.0+dfsg.1-1.1build1 | vulnerable |
| Ubuntu | libgit2 | pro | 0.26.0+dfsg.1-1.1ubuntu0.2 | vulnerable |
| Ubuntu | libgit2 | pro | 0.26.0+dfsg.1-1.1ubuntu0.2+esm1 | fixed |
| Ubuntu | libgit2 | 20.04 | 0.27.7+dfsg.1-0.2build1 | vulnerable |
| Ubuntu | libgit2 | 20.04 | 0.28.3+dfsg.1-1 | vulnerable |
| Ubuntu | libgit2 | 20.04 | 0.28.3+dfsg.1-1ubuntu1 | vulnerable |
| Ubuntu | libgit2 | 20.04 | 0.28.4+dfsg.1-2 | vulnerable |
| Ubuntu | libgit2 | 20.04 | 0.28.4+dfsg.1-2ubuntu0.1 | fixed |
| Ubuntu | libgit2 | 22.04 | 1.1.0+dfsg.1-4 | vulnerable |
| Ubuntu | libgit2 | 22.04 | 1.1.0+dfsg.1-4.1 | vulnerable |
| Ubuntu | libgit2 | 22.04 | 1.1.0+dfsg.1-4.1build1 | vulnerable |
| Ubuntu | libgit2 | 22.04 | 1.1.0+dfsg.1-4.1ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libgit2 | source | sid | 0.28.4+dfsg.1-2 | not yet assigned | Not reported | Not reported |
| Debian | libgit2 | source | forky | 0.28.4+dfsg.1-2 | not yet assigned | Not reported | Not reported |
| Debian | libgit2 | source | trixie | 0.28.4+dfsg.1-2 | not yet assigned | Not reported | Not reported |
| Debian | libgit2 | source | bookworm | 0.28.4+dfsg.1-2 | not yet assigned | Not reported | Not reported |
| Ubuntu | libgit2 | deb | pro | 0.26.0+dfsg.1-1.1ubuntu0.2+esm1 | Not reported | UBUNTU-CVE-2020-12278 | Not reported |
| Ubuntu | libgit2 | deb | pro | 0.26.0+dfsg.1-1.1ubuntu0.2+esm1 | Not reported | USN-6678-1 | Not reported |
| Ubuntu | libgit2 | deb | 20.04 | 0.28.4+dfsg.1-2ubuntu0.1 | Not reported | USN-6678-1 | Not reported |
| Ubuntu | libgit2 | deb | 22.04 | 1.1.0+dfsg.1-4.1ubuntu0.1 | Not reported | USN-6678-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libgit2-1.5]Unknown
Source package: [libgit2]
Details (4)
1.5.1+ds-1+deb12u1· amd64 · bookwormFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· arm64 · bookwormFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
- [libgit2-1.8]Unknown
Source package: [libgit2]
Details (2)
1.8.4+ds-3~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.8.4+ds-3~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
- [libgit2-dev]Unknown
Source package: [libgit2]
Details (6)
1.5.1+ds-1+deb12u1· amd64 · bookwormFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· arm64 · bookwormFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.8.4+ds-3~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.8.4+ds-3~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
- [libgit2-fixtures]Unknown
Source package: [libgit2]
Details (6)
1.5.1+ds-1+deb12u1· all · bookwormFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· all · bookwormFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.8.4+ds-3~bpo12+1· all · bookworm-backportsFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.8.4+ds-3~bpo12+1· all · bookworm-backportsFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· all · bookworm-securityFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· all · bookworm-securityFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
[Debian 13 (Trixie)]
- [libgit2-1.9]Unknown
Source package: [libgit2]
Details (4)
1.9.0+ds-2· amd64 · trixieFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · 13
1.9.0+ds-2· arm64 · trixieFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· amd64 · trixie-securityFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· arm64 · trixie-securityFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · 13
- [libgit2-dev]Unknown
Source package: [libgit2]
Details (4)
1.9.0+ds-2· amd64 · trixieFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · 13
1.9.0+ds-2· arm64 · trixieFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· amd64 · trixie-securityFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· arm64 · trixie-securityFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · 13
- [libgit2-fixtures]Unknown
Source package: [libgit2]
Details (4)
1.9.0+ds-2· all · trixieFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · 13
1.9.0+ds-2· all · trixieFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· all · trixie-securityFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· all · trixie-securityFixed · Fixed:
0.28.4+dfsg.1-2dsa · libgit2 · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2020-12278]
- [https://osv.dev/vulnerability/DLA-3340-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2020-12278]
- [https://osv.dev/vulnerability/USN-6678-1]
- [https://security-tracker.debian.org/tracker/CVE-2020-12278]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]