Vulnerability · Published Apr 27, 2020 · Assigned by mitre
CVE-2020-12279
Critical 9.8
In plain English
A critical-severity security flaw in the libgit2 package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 5.1% (higher than 92% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)5.1%top 7.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libgit2 | 0.28.4+dfsg.1-2 | DEBIAN-CVE-2020-12279 |
| Debian:13 | libgit2 | 0.28.4+dfsg.1-2 | DEBIAN-CVE-2020-12279 |
| Debian:14 | libgit2 | 0.28.4+dfsg.1-2 | DEBIAN-CVE-2020-12279 |
| Ubuntu:22.04:LTS | libgit2 | 1.1.0+dfsg.1-4.1ubuntu0.1 | USN-6678-1 |
Affected products (as reported)
References
- https://github.com/libgit2/libgit2/releases/tag/v0.99.0
- https://github.com/libgit2/libgit2/releases/tag/v0.28.4
- https://github.com/git/git/security/advisories/GHSA-589j-mmg9-733v
- https://github.com/libgit2/libgit2/commit/64c612cc3e25eff5fb02c59ef5a66ba7a14751e4
- [debian-lts-announce] 20220321 [SECURITY] [DLA 2936-1] libgit2 security update mailing-list
- [debian-lts-announce] 20230223 [SECURITY] [DLA 3340-1] libgit2 security update mailing-list