CVE-2018-5739 Failure to release memory may exhaust system resources

Medium 6.5 Published Updated

A memory leak in Kea DHCP server hooks can exhaust system resources, causing the server process to fail and resulting in a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-5739?

CVE-2018-5739 is a medium-severity denial of service vulnerability in ISC Kea DHCP, published on 16 Jan 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An extension to hooks capabilities which debuted in Kea 1.4.0 introduced a memory leak for operators who are using certain hooks library facilities. In order to support multiple requests simultaneously, Kea 1.4 added a callout handle store but unfortunately the initial implementation of this store does not properly free memory in every case. Hooks which make use of query4 or query6 parameters in their callouts can leak memory, resulting in the eventual exhaustion of available memory and subsequent failure of the server process. Affects Kea DHCP 1.4.0.

Weakness: CWE-772

Which versions are affected by CVE-2018-5739?

It affects 1 product.

Products include Isc Kea.

How do I fix CVE-2018-5739?

No fix has been published for CVE-2018-5739 yet. Limit exposure of the affected software until one is available.

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-5739 being exploited?

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

Sources

Also known as GHSA-h3j8-24jg-q44j.

Is CVE-2018-5739 in your software?

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

Check your SBOMs for free