CVE Database›Document archive›CVE-2020-12278

CVE-2020-12278

libgit2: files inside the .git directory may be overwritten during cloning via NTFS Alternate Data Streams

Loading…

Severity

Low

Red Hat Product Security

8.1

CVSS 3.1

Review impact separately from score.

Published · September 18, 2019

Updated · November 22, 2025

Description

An issue was discovered in libgit2 before 0.28.4 and 0.9x before 0.99.0. path.c mishandles equivalent filenames that exist because of NTFS Alternate Data Streams. This may allow remote code execution when cloning a repository. This issue is similar to CVE-2019-1352.

Statement

Even if the code in the versions of libgit2 as shipped with Red Hat Enterprise Linux 7, and 8 are affected by this flaw, Red Hat does not support the NTFS filesystem. For this reason, the flaw has a Low Impact.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CWE-73 · External Control of File Name or Path