Vulnerability in Libgit2
CVE-2020-12279
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.051, 92.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libgit2
- Debian Linux — versions 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cve-scores, DK26/jailed-path-rs, DK26/soft-canonicalize-rs, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/libgit2/libgit2/releases/tag/v0.99.0 (Third Party Advisory, Release Notes)
- github.com/libgit2/libgit2/releases/tag/v0.28.4 (Third Party Advisory, Release Notes)
- github.com/git/git/security/advisories/GHSA-589j-mmg9-733v (Patch, Third Party Advisory)
- github.com/libgit2/libgit2/commit/64c612cc3e25eff5fb02c59ef5a66ba7a14751e4 (Patch, Third Party Advisory)
- [debian-lts-announce] 20220321 [SECURITY] [DLA 2936-1] libgit2 security update (mailing-list, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20230223 [SECURITY] [DLA 3340-1] libgit2 security update (mailing-list)