CVE-2018-15501 Denial of service in n/a

High 7.5 Published Updated

A remote attacker can cause a denial of service in libgit2 by sending a crafted smart-protocol packet that triggers an out-of-bounds read.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-15501?

CVE-2018-15501 is a high-severity denial of service vulnerability in Debian Debian Linux, published on 18 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In ng_pkt in transports/smart_pkt.c in libgit2 before 0.26.6 and 0.27.x before 0.27.4, a remote attacker can send a crafted smart-protocol "ng" packet that lacks a '\0' byte to trigger an out-of-bounds read that leads to DoS.

Weakness: CWE-125

Which versions are affected by CVE-2018-15501?

It affects 2 products.

Products include Debian Debian Linux, Libgit2 Libgit2.

How do I fix CVE-2018-15501?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2018-15501 being exploited?

There is no known exploitation of CVE-2018-15501 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-15501, DEBIAN-CVE-2018-15501, GHSA-432h-4cw6-prpw.

Is CVE-2018-15501 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free