Multiple vulnerabilities in libgit2



| Updated: 2024-02-07
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2020-12278
CVE-2020-12279
CWE-ID CWE-706
Exploitation vector Network
Public exploit N/A
Vulnerable software
libgit2
Universal components / Libraries / Libraries used by multiple products

Vendor libgit2.github.com

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Use of Incorrectly-Resolved Name or Reference

EUVDB-ID: #VU86203

Risk: Medium

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

CVE-ID: CVE-2020-12278

CWE-ID: CWE-706 - Use of Incorrectly-Resolved Name or Reference

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to improper handling of equivalent filenames that exist because of NTFS Alternate Data Streams in path.c. A remote attacker can trick the victim into cloning a specially crafted repository and execute arbitrary code on the system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

libgit2: 0.1.0 - 0.28.3

CPE2.3 External links

https://github.com/libgit2/libgit2/releases/tag/v0.28.4
https://github.com/libgit2/libgit2/releases/tag/v0.99.0
https://github.com/libgit2/libgit2/commit/e1832eb20a7089f6383cfce474f213157f5300cb
https://github.com/git/git/security/advisories/GHSA-5wph-8frv-58vj
https://github.com/libgit2/libgit2/commit/3f7851eadca36a99627ad78cbe56a40d3776ed01
https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html
https://lists.debian.org/debian-lts-announce/2023/02/msg00034.html


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.

2) Use of Incorrectly-Resolved Name or Reference

EUVDB-ID: #VU86204

Risk: Medium

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

CVE-ID: CVE-2020-12279

CWE-ID: CWE-706 - Use of Incorrectly-Resolved Name or Reference

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to improper handling of equivalent filenames that exist because of NTFS short names in checkout.c. A remote attacker can trick the victim into cloning a specially crafted repository and execute arbitrary code on the system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

libgit2: 0.1.0 - 0.28.3

CPE2.3
External links

https://github.com/libgit2/libgit2/releases/tag/v0.28.4
https://github.com/libgit2/libgit2/commit/64c612cc3e25eff5fb02c59ef5a66ba7a14751e4
https://github.com/libgit2/libgit2/releases/tag/v0.99.0
https://github.com/git/git/security/advisories/GHSA-589j-mmg9-733v
https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html
https://lists.debian.org/debian-lts-announce/2023/02/msg00034.html


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###