CVE-2020-12278
Record from NVD · Published April 27, 2020
rugged is fixed in 0.28.4 (RubyGems)
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.
EPSS 5.24% · 92.5th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| rugged | RubyGems | 0.28.4 |
| libgit2 | conan.io | 0.28.4 |
| libgit2 | Ubuntu:Pro:18.04:LTS | 0.26.0+dfsg.1-1.1ubuntu0.2+esm1 |
| libgit2 | libgit2 | 0.28.4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| debian | debian_linux | 9.0 |
| libgit2 | libgit2 | 0 |
Timeline
- Apr 27, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Jul 21, 2021 CVE Updated
- Mar 6, 2026 Distribution Patch
- Mar 6, 2026 Security Advisory (2 in total, the first dated here)
- Sep 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-12278
vulnetix vdb fixes CVE-2020-12278
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-12278/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/git/git/security/advisories/GHSA-5wph-8frv-58vj advisory
- https://github.com/libgit2/libgit2/commit/3f7851eadca36a99627ad78cbe56a40d3776ed01 fix
- https://github.com/libgit2/libgit2/commit/e1832eb20a7089f6383cfce474f213157f5300cb fix
- https://github.com/libgit2/libgit2/releases/tag/v0.28.4 fix
- https://github.com/libgit2/libgit2/releases/tag/v0.99.0 fix
- https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html advisory
- https://lists.debian.org/debian-lts-announce/2023/02/msg00034.html advisory