#VU23554 Path traversal in Git


Published: 2019-12-12

Vulnerability identifier: #VU23554

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2019-1348

CWE-ID: CWE-22

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Git
Client/Desktop applications / Software for system administration

Vendor: Git

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when the export-marks option of git fast-import is exposed also via the in-stream command feature. A remote attacker can send a specially crafted HTTP request and overwrite arbitrary paths on the system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Git: 2.24.0, 2.23.0, 2.22.0 - 2.22.1, 2.21.0, 2.20.0 - 2.20.1, 2.19.0 - 2.19.2, 2.17.0 - 2.17.2, 2.16.0 - 2.16.5, 2.15.0 - 2.15.3, 2.14.0 - 2.14.5, 2.18.0 - 2.18.1


External links
http://groups.google.com/forum/?fromgroups#!topic/git-packagers/AWRBO_5gqa4


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability