CVE-2020-12279 json
An issue was discovered in libgit2 before 0.28.4 and 0.9x before 0.99.0
published 2020-04-27 6 y ago modified 2026-07-18 3 mo ago also EUVD-2020-4592 , JLSEC-2025-183
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.1%
- EPSS 5.1% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia LibGit2_jll 0.28.5+0
- libgit2 libgit2 0.28.4
- libgit2 Debian 14, Debian 13, Debian 12 0.28.4+dfsg.1-2
debian advisories DEBIAN-CVE-2020-12279
- libgit2 Ubuntu Pro 16.04 LTS 0.24.1-2ubuntu0.2+esm2
- libgit2 Ubuntu Pro 18.04 LTS 0.26.0+dfsg.1-1.1ubuntu0.2+esm1
ubuntu advisories UBUNTU-CVE-2020-12279
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-12279 updated cvss 8.1
libgit2: NTFS protections inactive when running Git in the Windows Subsystem for Linux
-
Red Hat Enterprise Linux 7 libgit2 Red Hat Enterprise Linux 8 libgit2affected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
5.07% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | LibGit2_jll | <0.28.5+0 |
0.28.5+0 |
Classification
- Weakness
-
- CWE-706 Use of Incorrectly-Resolved Name or Reference
References
-
github.com
/libgit2/libgit2/commit/64c612cc3e25eff5fb02c59ef5a66ba7a14751e4
patch, third-party-advisory, web
-
github.com
/git/git/security/advisories/GHSA-589j-mmg9-733v
patch, third-party-advisory, web
-
github.com
/libgit2/libgit2/releases/tag/v0.99.0
release-notes, third-party-advisory, web
-
github.com
/libgit2/libgit2/releases/tag/v0.28.4
release-notes, third-party-advisory, web
-
lists.debian.org
/debian-lts-announce/2022/03/msg00031.html
mailing-list, third-party-advisory, web
-
lists.debian.org
/debian-lts-announce/2023/02/msg00034.html
mailing-list, web
Sources
- CVE List CVE-2020-12279
- NVD CVE-2020-12279
- OSV JLSEC-2025-183
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.