CVE-2018-8099 Use after free in n/a
An attacker can cause a denial of service in libgit2 by providing a crafted repository index file that triggers a double free error.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-8099?
CVE-2018-8099 is a medium-severity use after free vulnerability in Debian Debian Linux, published on 14 Mar 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Incorrect returning of an error code in the index.c:read_entry() function leads to a double free in libgit2 before v0.26.2, which allows an attacker to cause a denial of service via a crafted repository index file.
Weakness: CWE-415
Which versions are affected by CVE-2018-8099?
It affects 2 products.
Products include Debian Debian Linux, Libgit2 Libgit2.
How do I fix CVE-2018-8099?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2018-8099 being exploited?
There is no known exploitation of CVE-2018-8099 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2018-8099, GHSA-mhmm-r9x5-v638.