Name | CVE-2020-12279 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2936-1, DLA-3340-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
libgit2 (PTS) | jessie, jessie (lts) | 0.21.1-3+deb8u1 | vulnerable |
stretch (security) | 0.25.1+really0.24.6-1+deb9u1 | fixed | |
stretch (lts), stretch | 0.25.1+really0.24.6-1+deb9u3 | fixed | |
buster (security), buster, buster (lts) | 0.27.7+dfsg.1-0.2+deb10u2 | fixed | |
bullseye (security), bullseye | 1.1.0+dfsg.1-4+deb11u2 | fixed | |
bookworm (security), bookworm | 1.5.1+ds-1+deb12u1 | fixed | |
sid, trixie | 1.8.4+ds-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
libgit2 | source | stretch | 0.25.1+really0.24.6-1+deb9u1 | DLA-2936-1 | ||
libgit2 | source | buster | 0.27.7+dfsg.1-0.2+deb10u1 | DLA-3340-1 | ||
libgit2 | source | (unstable) | 0.28.4+dfsg.1-2 |
[jessie] - libgit2 <no-dsa> (Minor issue; only problematic when used on NTFS like filesystem)
https://github.com/libgit2/libgit2/commit/64c612cc3e25eff5fb02c59ef5a66ba7a14751e4