Vulnerabilities · 2020 · Libgit2
CVE-2020-12279
Libgit2 vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Libgit2, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libgit2 runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/git/git/security/advisories/GHSA-589j-mmg9-733v · Patch
- github.com/libgit2/libgit2/commit/64c612cc3e25eff5fb02c59ef5a66ba7a14751e4 · Patch
- github.com/libgit2/libgit2/releases/tag/v0.28.4 · Third Party Advisory
- github.com/libgit2/libgit2/releases/tag/v0.99.0 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2022/03/msg00031.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2023/02/msg00034.html
- nvd.nist.gov/vuln/detail/CVE-2020-12279
- cve.org/CVERecord?id=CVE-2020-12279
More vulnerabilities in Libgit2 products
CVE-2024-24577CVE-2024-24575CVE-2023-22742CVE-2020-12278CVE-2018-15501CVE-2018-10888CVE-2018-10887CVE-2018-8099All 11
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.