CVE-2019-7148 Denial of service in n/a

Medium 6.5 Published Updated

Remote attackers can cause denial of service via crafted ELF input triggering excessive memory allocation in libelf, though maintainers dispute severity.

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-2019-7148?

CVE-2019-7148 is a medium-severity denial of service vulnerability in n/a, published on 29 Jan 2019. 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

An attempted excessive memory allocation was discovered in the function read_long_names in elf_begin.c in libelf in elfutils 0.174. Remote attackers could leverage this vulnerability to cause a denial-of-service via crafted elf input, which leads to an out-of-memory exception. NOTE: The maintainers believe this is not a real issue, but instead a "warning caused by ASAN because the allocation is big. By setting ASAN_OPTIONS=allocator_may_return_null=1 and running the reproducer, nothing happens."

Weakness: CWE-770

Which versions are affected by CVE-2019-7148?

It affects 1 product.

Products include Elfutils Project Elfutils.

How do I fix CVE-2019-7148?

No fix published yet.

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-2019-7148 being exploited?

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

Sources

Also known as ALPINE-CVE-2019-7148, DEBIAN-CVE-2019-7148, GHSA-67vc-2q9c-6854, UBUNTU-CVE-2019-7148.

Is CVE-2019-7148 in your software?

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

Check your SBOMs for free