Denial of service in libgit2



Published: 2018-03-08
Risk Low
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2018-8099
CVE-2018-8098
CWE-ID CWE-415
CWE-125
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
libgit2
Universal components / Libraries / Libraries used by multiple products

Vendor libgit2.github.com

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Double free

EUVDB-ID: #VU11152

Risk: Low

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

CVE-ID: CVE-2018-8099

CWE-ID: CWE-415 - Double Free

Exploit availability: No

Description

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The weakness exists in the read_entry() function due to a double free error. A remote attacker can send a specially crafted repository index file, trick the victim into opening it and cause the service to crash.

Mitigation

Update to version 0.26.2.

Vulnerable software versions

libgit2: 0.24.4.0 - 0.26.1.0

External links

http://libgit2.github.com/security/


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) Out-of-bounds read

EUVDB-ID: #VU11154

Risk: Low

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

CVE-ID: CVE-2018-8098

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

Description

The vulnerability allow a remote attacker to cause DoS condition on the target system.

The weakness exists in the index.c:read_entry() function due to out-of-bounds read while decompressing a compressed prefix length. A remote attacker can send a specially crafted repository index file, trick the victim into opening it and cause the service to crash.

Mitigation

Update to version 0.26.2.

Vulnerable software versions

libgit2: 0.24.4.0 - 0.26.1.0

External links

http://libgit2.github.com/security/


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