Absolute Path Traversal in libgit2 (Alpine package)



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-1351
CWE-ID CWE-36
Exploitation vector Network
Public exploit N/A
Vulnerable software
libgit2 (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Absolute Path Traversal

EUVDB-ID: #VU23500

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2019-1351

CWE-ID: CWE-36 - Absolute Path Traversal

Exploit availability: No

Description

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

The vulnerability exists due to the Git for Visual Studio improperly handles virtual drive paths. A remote attacker can clone a file using a specially crafted path and write arbitrary files and directories to certain locations on a vulnerable system.


Mitigation

Install update from vendor's website.

Vulnerable software versions

libgit2 (Alpine package): 0.28.3-r1

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=58b4a531b78ab8c0f877521a48ff6c54980277ff
https://git.alpinelinux.org/aports/commit/?id=0b0f6a3391ac467390d24ad01eaf7105da2ed2a3
https://git.alpinelinux.org/aports/commit/?id=6b336edb2a6756f1c25574daf608e230ca75160b
https://git.alpinelinux.org/aports/commit/?id=64bd4efee3d96f4ad333d07b0fabc16320dd2f29
https://git.alpinelinux.org/aports/commit/?id=330dccaf7a87b0e784100ef5e2fa7f99b72c84d9
https://git.alpinelinux.org/aports/commit/?id=2379f03a9ab98d2a3845f360063ae03a5b94b2a7
https://git.alpinelinux.org/aports/commit/?id=c8d39d0ddffc93f57a87b567422cbdbbd707e1f9


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.



###SIDEBAR###