CVE Vulnerabilities

CVE-2020-12279

Use of Incorrectly-Resolved Name or Reference

Published: Apr 27, 2020 | Modified: Feb 24, 2023
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
8.1 LOW
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM

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.

Weakness

The product uses a name or reference to access a resource, but the name/reference resolves to a resource that is outside of the intended control sphere.

Affected Software

Name Vendor Start Version End Version
Libgit2 Libgit2 * 0.28.4 (excluding)
Libgit2 Ubuntu bionic *
Libgit2 Ubuntu eoan *
Libgit2 Ubuntu esm-apps/bionic *
Libgit2 Ubuntu esm-apps/xenial *
Libgit2 Ubuntu esm-infra-legacy/trusty *
Libgit2 Ubuntu groovy *
Libgit2 Ubuntu hirsute *
Libgit2 Ubuntu impish *
Libgit2 Ubuntu kinetic *
Libgit2 Ubuntu trusty *
Libgit2 Ubuntu trusty/esm *
Libgit2 Ubuntu upstream *
Libgit2 Ubuntu xenial *

References