PT-2019-5026 · Git+5 · Git+5

Pedro Sampaio

·

Published

2019-12-10

·

Updated

2024-06-15

·

CVE-2019-1348

CVSS v2.0

3.6

Low

VectorAV:L/AC:L/Au:N/C:N/I:P/A:P
Name of the Vulnerable Software and Affected Versions Git versions prior to 2.24.1 Git versions prior to 2.23.1 Git versions prior to 2.22.2 Git versions prior to 2.21.1 Git versions prior to 2.20.2 Git versions prior to 2.19.3 Git versions prior to 2.18.2 Git versions prior to 2.17.3 Git versions prior to 2.16.6 Git versions prior to 2.15.4 Git versions prior to 2.14.6
Description The issue is related to the --export-marks option of git fast-import, which is also exposed via the in-stream command feature export-marks=... and allows overwriting arbitrary paths. This vulnerability is associated with an insufficient input validation mechanism in the Git distributed version control system. Exploitation of the vulnerability can lead to a denial of service and impact data integrity.
Recommendations For Git versions prior to 2.24.1, update to version 2.24.1 or later. For Git versions prior to 2.23.1, update to version 2.23.1 or later. For Git versions prior to 2.22.2, update to version 2.22.2 or later. For Git versions prior to 2.21.1, update to version 2.21.1 or later. For Git versions prior to 2.20.2, update to version 2.20.2 or later. For Git versions prior to 2.19.3, update to version 2.19.3 or later. For Git versions prior to 2.18.2, update to version 2.18.2 or later. For Git versions prior to 2.17.3, update to version 2.17.3 or later. For Git versions prior to 2.16.6, update to version 2.16.6 or later. For Git versions prior to 2.15.4, update to version 2.15.4 or later. For Git versions prior to 2.14.6, update to version 2.14.6 or later.

Fix

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2019-3258
ALT-PU-2019-3259
BDU:2020-01659
CESA-2019_4356
CVE-2019-1348
DLA-2059-1
DSA-4581-1
MGASA-2019-0391
MGASA-2019-0393
OPENSUSE-SU-2020:0123-1
OPENSUSE-SU-2020:0598-1
OPENSUSE-SU-2020_0123-1
OPENSUSE-SU-2020_0598-1
OPENSUSE-SU-2024:10786-1
OPENSUSE-SU-2024:10943-1
RHSA-2019:4356
RHSA-2019_4356
RHSA-2020:0002
RHSA-2020:0228
SUSE-SU-2019:3311-1
SUSE-SU-2019_3311-1
SUSE-SU-2020:0045-1
SUSE-SU-2020:1121-1
SUSE-SU-2020_0045-1
USN-4220-1

Affected Products

Alt Linux
Centos
Git
Red Hat
Suse
Ubuntu